Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cli] Completions command for suggestions #213

Merged
merged 2 commits into from Jun 10, 2018

Commits on Jun 3, 2018

  1. [cli] Completions command for suggestions

    This takes airlift's 'suggest' command and reuses it as a different
    command name, 'completion'. This gives us in-built CLI completions which
    are useful in the repo-level container's docker-entrypoint.sh. This
    previously parsed Java files for conventional usage of Command
    annotations, which is potentially buggy. The new implementation relies
    only on CLI to provide command completion suggestions.
    
    As part of this, we can prepare for bash completion scripts which can be
    added to our homebrew formula.  The new completion command will also
    complete on command options, for example:
    
    cli completion generate
    
    This will provide all short and long form switches available to the
    generate command.
    jimschubert committed Jun 3, 2018
    Copy the full SHA
    985f859 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2018

  1. Copy the full SHA
    1fd460a View commit details
    Browse the repository at this point in the history