commands property

  1. @override
Map<String, CliCommand> get commands
override

Defines a list of subcommands.

サブコマンドの一覧を定義します。

Implementation

@override
Map<String, CliCommand> get commands => const {
      "get": PubGetCliCommand(),
      "add": PubAddCliCommand(),
      "version": PubVersionCliCommand(),
      "upgrade": PubUpgradeCliCommand(),
      "publish": PubPublishCliCommand(),
    };