Skip to content

*nix commandline app completion #77

@czhang03

Description

@czhang03

there are more and more *nix apps that has ported to windows, but they don't really follows the way that window's style of completion.

For each parameter they have a short name, start by -; and a long name, started by --, the short name of switch can merge together like -rf means apply switch recursive and force.

Is it possible to create completion for this?

like in fish shell, you can create compeletion like:

complete -c you-get -s V -l version -d 'print version and exit'

-c is command, -s is for short name, -l if for long name, and -d is for description.
I think it will be nice if you guys can support this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions