CreateWidgetCommand constructor

CreateWidgetCommand()

Implementation

CreateWidgetCommand() {
  argParser
    ..addOption('name', abbr: 'n', help: 'Specify the name of the widget.')
    ..addOption('type',
        abbr: 't',
        help:
            'Specify the type of the widget. Options: [stateless, stateful, consumer]',
        defaultsTo: 'stateless');
}