Flow should provide a machine readable list of all available commands
This would make implementing autocompletion for various shells much easier.
Currently the output of flow help needs to be parsed.
There should be an additional command that would output all commands and their arguments, description, etc. as JSON or other format. I'm not sure what the best practice for this is.
Example: ZSH autocomplete by @skurfuerst
I started implementing an autocompletion for https://fig.io and it's a bit cumbersome to parse all commands and create a nice output.
I would implement this, but would love to have some input by people who might already have put some thought into it.
i know also of: https://github.com/webandco/neos-dev-tools#flow-commandline-bash-autocomplete
I would be in favor for deep nested and structured json, which holds all informations for each command and argument.
Maybe we can solve somehow that the api responses faster no matter the state of the cache (by using pure php?) ... currently using the zsh plugin will take some time on empty cache....