The %command.name% command generates a new Stimulus controller.
php %command.full_name% hello
If the argument is missing, the command will ask for the controller name interactively.
To generate a TypeScript file (instead of a JavaScript file) use the --typescript
(or --ts) option:
php %command.full_name% hello --typescript
It will also interactively ask for values, targets, classes to add to the Stimulus
controller (optional).
php %command.full_name%