runInteractive method

  1. @override
Future<void> runInteractive()
override

Entry point for interactive CLI execution.

Implementation

@override
Future<void> runInteractive() async {
  final fullPath = Input(
    prompt: 'Enter component path/name (e.g., home/user_card):',
    validator: (input) => input.isEmpty ? throw ValidationError('Path is required') : true,
  ).interact();

  await _execute(fullPath);
}