Flow should provide a machine readable list of all available commands

Open
#2,811 3 comments 1 reaction 1 assignee View on GitHub

@Sebobo is already working on this.

Since Apr 8, 2022.

Assessment

This issue has not been assessed yet.

Description

Feature P: Flow

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.

fig-flow
Dominant language
PHP
Stars
143
Forks
191
Avg merge
3d 12h
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from neos/flow-development-collection

All issues in neos/flow-development-collection

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.