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

[Destructive Change] Rename commands #313

Open
tyru opened this issue Jan 6, 2020 · 0 comments
Open

[Destructive Change] Rename commands #313

tyru opened this issue Jan 6, 2020 · 0 comments

Comments

@tyru
Copy link
Member

tyru commented Jan 6, 2020

Leave old commands as deprecated for a while.

volt get

  • get {repos} -> install {repos}, lock {repos}
  • get -u {repos} -> update {repos}
  • get -l {repos} -> lock -a {repos}
  • get -u -l {repos} -> update -a {repos}

volt profile

Like git branch

  • profile add {repos} -> enable {repos} (allows to pass profile name)
  • profile rm {repos} -> disable {repos} (allows to pass profile name)
  • profile new {profile} -> profile {profile}
  • profile destroy {profile} -> profile -d {profile}
  • profile set {profile} -> switch {profile}
  • profile list -> profile

Allow abbreviated command name by prefix match

Like npm commands

  • volt i -> volt install
  • Error for multiple matches (Ambiguos command name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant