GenerateSmartCommand constructor

GenerateSmartCommand()

Implementation

GenerateSmartCommand() {
  argParser.addOption(
    'type',
    abbr: 't',
    allowed: ['async', 'sync'],
    defaultsTo: 'async',
    help: 'The state management archetype for the component.',
    allowedHelp: {
      'async': 'REACTIVE: Manages internal async tasks (e.g. UserCard fetching by ID). Uses Status Enum to handle internal loading/error states.',
      'sync': 'INTERACTIVE: Manages complex local state logic without external I/O dependency.',
    },
  );
}