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

New shortcut to set and get build config. #222

Open
floooh opened this issue Apr 30, 2019 · 2 comments
Open

New shortcut to set and get build config. #222

floooh opened this issue Apr 30, 2019 · 2 comments

Comments

@floooh
Copy link
Owner

floooh commented Apr 30, 2019

fips config xxx should be a shortcut for fips set config xxx, and fips config should print the currently selected build config (instead of fips list settings).

cc @gustavolsson

Existing functionality won't break, these are just additional shortcuts for two very common actions.

@gustavolsson
Copy link
Contributor

Another idea, what about fips switch config or fips prev config to switch to the previous config? That way one can switch between 2 different configs easily..

@floooh
Copy link
Owner Author

floooh commented Apr 30, 2019

...that's a bit too much "do what I mean" for my taste ;)

On Mac and Windows Linux, shells with a fish-shell-like context-sensitive history provide most of that already (e.g. when I type "./fips set co" I can cycle through the recent "./fips set config ...." I did in that directory with the up-arrow key).

Not sure if there's some equivalent for Windows...

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