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

feat: Generate completions during build process #53

Closed

Commits on Oct 26, 2020

  1. feat: Generate completions during build process

    This commit adds a `build.rs` which generates completion files for Bash,
    Elvish, Fish, and zsh shells. In order to accomplish this, the
    `build_cli` command was moved into a separate module: `cli`. The CI
    build script was also modified to package the four scripts into the
    outputted build artifact.
    
    One downside of pre-generating the completion scripts is that it won't
    be able to take user-specified profiles, as those are dependent on each
    system. That would require custom generations, and would probably no
    longer able to be auto-generated with clap.
    DSpeckhals committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    7a5d585 View commit details
    Browse the repository at this point in the history