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

Subcommand aliases #59

Open
sviridov-alexey opened this issue Apr 27, 2021 · 0 comments
Open

Subcommand aliases #59

sviridov-alexey opened this issue Apr 27, 2021 · 0 comments

Comments

@sviridov-alexey
Copy link
Contributor

Allow define aliases for subcommands.
Rationale

  • Sometimes different names of some subcommand better match different use cases. I.e. backup restore-snapshot and backup rollback-to have some meaning but one of them can be more expressive in different cases
  • For deprecation reasons. For example, there was the command backup which is backing up the directory. After some time one decide to add the command backup-file and rename the first one to backup-dir, but still leave backup as alias of backup-dir for compatibility
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant