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

Make switching profiles easier #386

Closed
eljrax opened this issue Feb 11, 2016 · 6 comments
Closed

Make switching profiles easier #386

eljrax opened this issue Feb 11, 2016 · 6 comments

Comments

@eljrax
Copy link

eljrax commented Feb 11, 2016

Requiring having the --profile option (or any other for that matter) at the end of a string is quite inconvenient.

It's rare that you'll only fire off a single command, most of what we do are series of commands (find image ID, flavor ID, build instance, show instance ...) Constantly having to ctrl+left arrow twice in order to switch subcommand/action is a massive inconvenience.
I've aliased my way out of this for now, but positional arguments feels a bit uncalled for here.

Ideally --profile (or any other globally applicable options) should come right after the rack command. Or if that's not doable for whatever reason, at least allow for something along the lines of
rack profile activate <profilename>
and apply the selected profile to all future commands until switched.

@Trozz
Copy link

Trozz commented Feb 11, 2016

having the ability to activate a profile would be the ideal situation as ultimately it is as simple as adding an enabled flag to the config file to determine which profile is currently active and use the --profile option to ignore this

@jrperritt
Copy link
Contributor

@eljrax @Trozz thoughts on user experience here: #432 (comment) ?

@Trozz
Copy link

Trozz commented May 6, 2016

@jrperritt that looks great, i think that solves this issue

@eljrax
Copy link
Author

eljrax commented May 9, 2016

@jrperritt I don't have a strong preference or thoughts on the "show active region" debate in #432, so whatever the outcome of that, this looks good to me! Thanks!

@jrperritt jrperritt added the done label May 16, 2016
@jrperritt
Copy link
Contributor

by #432

@eljrax
Copy link
Author

eljrax commented May 17, 2016

Looks good, thanks!

@eljrax eljrax closed this as completed May 17, 2016
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

3 participants