You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
HELP: How to remove default flags "--quiet, --version, --ansi, --no-ansi, --no-interaction, --verbose" from commands? #304
How to remove the default "--quiet, --version, --ansi, --no-ansi, --no-interaction, --verbose" flags from a custom command that inherites from "from cleo.commands.command import Command", like the GreetCommand showed in the demo on README?
I created a command and don't want to show these default flags to users.
Activity
Secrus commentedon Jan 22, 2023
This is currently not available.
marcosdotme commentedon Jan 23, 2023
Could you show me where in the code these flags are created? So I could add this functionality of suppressing the flags.
tkuipers commentedon Apr 10, 2023
cleo/src/cleo/application.py
Line 549 in 675ec7e