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

Allow short versions of the commands #162

Open
jsi opened this issue Aug 8, 2019 · 2 comments
Open

Allow short versions of the commands #162

jsi opened this issue Aug 8, 2019 · 2 comments

Comments

@jsi
Copy link
Member

jsi commented Aug 8, 2019

It can be quite cumbersome to write out all the commands sometimes. For instance:

enonic sandbox create

It should be possible to express all commands with a two letter shortname:

enonic sandbox create -> enonic sb cr
enonic project deploy -> enonic pr dp

etc.

@jsi
Copy link
Member Author

jsi commented Nov 3, 2021

As I keep working with the CLI, I think this idea is just better and better. The CLI commands can get pretty long, and using abbreviations would be very helpful. Also, I notice, this has already been implemented for "help", which can be called with "h". Why don't all top-level commands have one- or two-letter shortcuts? Here is a list of suggestions:
snapshot, sn
dump, d
export, ex
import, im
app, a
repo, r
cms, c
system, sy
auditlog, al
latest, l
vacuum, v
help, h
cloud, cl
sandbox, sb
project, p

@sigdestad
Copy link
Member

FYI: There is a plan to place "xp" commands under an xp keyword (or similar). To differentiate from cloud and project more clearly.

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

2 participants