Skip to content

Easier access to configuration values #977

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

Closed
remyleone opened this issue May 1, 2020 · 1 comment
Closed

Easier access to configuration values #977

remyleone opened this issue May 1, 2020 · 1 comment

Comments

@remyleone
Copy link
Member

Let's suppose that I want to get the region of my current configuration. Just the string of the region.
At the moment I can have it using:

scw config get default_region -o json | jq -r ".[0].value"

I would like to have something easier to use

Description

scw config get region

How I imagine scw could expose this functionality

scw config get region

This one is shorter than default_region
And more generally have shorter commands to get to the values.
Having direct output as a string and not a table with the value could be useful

References

@remyleone remyleone changed the title Easier access to values Easier access to configuration values May 1, 2020
@jerome-quere
Copy link
Contributor

duplicate of #948

clement-gilbert pushed a commit to clement-gilbert/scaleway-cli that referenced this issue Mar 3, 2022
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

2 participants