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

Support command aliases #288

Closed
remkop opened this issue Feb 14, 2018 · 0 comments
Closed

Support command aliases #288

remkop opened this issue Feb 14, 2018 · 0 comments

Comments

@remkop
Copy link
Owner

remkop commented Feb 14, 2018

For example, the JFrog CLI supports short form and long form for many subcommands:

 ~/jfrog rt --help
NAME:
   jfrog rt - Artifactory commands

USAGE:
   jfrog rt command [command options][arguments...]

COMMANDS:
   config, c                    Configure Artifactory details.
   use                          Set the active Artifactory server by its ID.
   upload, u                    Upload files.
   download, dl                 Download files.
   move, mv                     Move files.
   copy, cp                     Copy files.
   delete, del                  Delete files.
   search, s                    Search files.
   set-props, sp                Set properties on existing files in Artifactory.
   build-publish, bp            Publish build info.
   build-collect-env, bce       Capture environment variables.
   build-add-git, bag           Capture git revision and remote url.
   build-scan, bs               This command is used to perform Xray scan on a build.
   build-clean, bc              This command is used to clean (remove) build info collected locally.
   build-promote, bpr           This command is used to promote build in Artifactory.
   build-distribute, bd         This command is used to deploy builds from Artifactory to Bintray, and creates an entry in the corresponding Artifactory distribution repository specified.
   git-lfs-clean, glc           Clean files from a Git LFS repository. The command deletes all files from a Git LFS repository that are no longer available in a corresponding Git repository.
   mvn                          Run Maven build.
   mvn-config, mvnc             Generate Maven build configuration.
   gradle                       Run Gradle build.
   gradle-config, gradlec       Generate Gradle build configuration.
   help, h                      Shows a list of commands or help for one command

OPTIONS:
   --help, -h   show help
@remkop remkop added this to the 3.0 milestone Feb 14, 2018
@remkop remkop modified the milestones: 3.0, 3.1 Apr 30, 2018
@remkop remkop modified the milestones: 3.2, 3.1 Jun 11, 2018
@remkop remkop closed this as completed in 8c031ba Jun 11, 2018
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