console-extra
console-extra copied to clipboard
A modular set of features to reduce configuration boilerplate for your Symfony commands.
can you add the specific variable and file to this warning? That is, I'd like to see something like Specify #[Option(name: 'page-size']) in AppLoadDataCommand.php to explicitly to remove this deprecation."...
Is there a way to use this to create a single command application? I've gotten so used to using attributes to define arguments and options that I don't want to...
I have several commands that follow a similar format, and I'm curious as to the best practices on how to extend from a base class. ```bash bin/console project:create test bin/console...
```bash bin/console my:command --help bin/console make:crud --help ``` Symfony's make:crud shows some help lines at the bottom, how is that set in an invokable command? I tried adding this to...
- Require PHP 8+ - Remove `ConfigureWithDocblocks` (see #28) - Add `ConfigureWithAttributes::configure()` to `Invokable` - Remove `ConfigureWithAttributes` - Remove `AutoName` - Add `@command` argument/option parsing to `AsCommand::$name` (in `Invokable`)? -...
Can the invokable commands use validation? That is Since you're looking at Closures for auto-completion, I wanted to brainstorm about the idea of assertions / validations in the commands. One...
```php #[AsCommand('my:command')] class MyCommand { public function __invoke() {} } ```
What a cool library! Sometimes instead of loading fixtures, I want a simple command that let's me create/update an object. For example: ```bash bin/console make:book --title "Rust" --isbn "29294-42" --author...
Brainstorm of possible improvements to `IO`: 1. `IO::cursor(): Cursor` (or some kind of wrapper to help with cursor adjustments in a fluid way) 2. `IO::color(): Color` 3. `IO::createSection(): ConsoleSectionOutput` 4....