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

--properties should not require someone to write JSON on the command #659

Open
larsks opened this issue Dec 6, 2024 · 0 comments
Open

Comments

@larsks
Copy link
Member

larsks commented Dec 6, 2024

The help for the --properties option to openstack esi lease create says:

  --properties PROPERTIES
                        Record arbitrary key/value resource property information. Pass in as a json object.

...but I am using the CLI because I don't want to interact with the API using JSON. It would be much kinder to the user to permit a "key=value" syntax, e.g.:

openstack esi lease create -p weight=100 -p color=red ...

And perhaps offer a --properties-json option for the rare case that someone actually wants to write JSON on the command line.

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

1 participant