RegistryCommand constructor

RegistryCommand({
  1. required String name,
  2. required String description,
  3. List<String>? aliases,
  4. List<RegistryCommand>? commands,
  5. RegistryVariadic? variadic,
  6. List<RegistryPositional>? positionals,
  7. List<RegistryFlag>? flags,
  8. List<RegistryFlag>? persistentFlags,
  9. List<RegistryOption>? options,
  10. List<RegistryOption>? persistentOptions,
  11. List<RegistryOptionGroup>? optionGroups,
  12. List<RegistryAccessor>? accessors,
})

Implementation

new({
  required this.name,
  required this.description,
  this.aliases,
  this.commands,
  this.variadic,
  this.positionals,
  this.flags,
  this.persistentFlags,
  this.options,
  this.persistentOptions,
  this.optionGroups,
  this.accessors,
});