ActionCommand constructor

ActionCommand({
  1. required String name,
  2. required String description,
  3. required ActionRun actionRun,
  4. required Map<String, String> requestArgs,
  5. required String runnerName,
})

Implementation

ActionCommand({
  required this.name,
  required this.description,
  required this.actionRun,
  required this.requestArgs,
  required this.runnerName,
}) {
  argParser.addOption('id', help: '执行ID');
  argParser.addOption('index', help: '执行的索引,默认为0');
}