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
Allows to append "--help" to any command to see it's description
verbose
A new method could be added AbstractCommandController::isVerbose() that returns TRUE if the flag is set
Considerations:
do we need multiple verbosity levels (-v, -vv, -vvv)?
What if a command expects a $verbose argument - I think it should be possible to pass that on anyways.. If it's not a boolean argument, an exception should be thrown
** Should we change the signature of the output**() methods to incorporate the verbosity flag? E.g.: protected function output($text, array $arguments = array(), $verbosityLevel = self::VERBOSITY_GENERAL)
context
Allows executing of commands in a different context, e.g. ./flow flow:cache:flush --context Production
Considerations:
Should it be possible to specify multiple contexts (comma separated)?
** Currently it's not possible to determine all defined contexts (a context is implicitly created according to the FLOW_CONTEXT* env variable). An idea to circumvent this is, that a context is only valid if a corresponding directory exists in the global configuration folder, e.g. Configuration/Development/MyContext .This would allow us to fetch all registered (sub)contexts. Also it would make it easier to react to typos in the specified context.
Jira issue originally created by user @bwaidelich:
It should be possible to define global flags that can be used for all commands
Jira-URL: https://jira.neos.io/browse/FLOW-216
The text was updated successfully, but these errors were encountered: