console-extra icon indicating copy to clipboard operation
console-extra copied to clipboard

Drop #[Argument] and #[Option] is version 2?

Open tacman opened this issue 5 months ago • 0 comments

I'm a huge fan of console-extra, we had about 80 scripts that used it, and I found defining the command arguments and options via attributes to be very intuitive.

But now that Symfony 7.3 supports them, perhaps your next version could simply leverage that now core functionality.

I do like the RunProcess trait and a few other things about this bundle. The main reason I'd like version 2 to not support the attributes is when I have an application that uses console-extra and I'm creating a command, the auto-complete show both zenstruck and symfony as options.

I know. Super-tiny issue.

We're almost finished migrating all our console commands to 7.3, and want to thank you for making this bundle available. It showed that it was possible and was an inspiration for the functionality now in the Symfony core. Mil gracias.

tacman avatar Jul 25 '25 15:07 tacman