AddCommand constructor

AddCommand()

Creates a new instance of AddCommand and configures its arguments.

Implementation

AddCommand() {
  argParser.addFlag(
    'overwrite',
    abbr: 'o',
    help: 'Overwrite existing files',
    negatable: false,
  );
  argParser.addOption(
    'variant',
    abbr: 'v',
    help: 'Specify the component variant',
  );
  argParser.addFlag(
    'all',
    abbr: 'a',
    help: 'Add all available components',
    negatable: false,
  );
}