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

Teach cli tools to parse human readable dates #676

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

Teach cli tools to parse human readable dates #676

larsks opened this issue Dec 19, 2024 · 0 comments

Comments

@larsks
Copy link
Member

larsks commented Dec 19, 2024

Just because the API requires ISO-formatted dates doesn't mean we should make people type them all the time. Instead of:

openstack esi offer list --availability 2024-12-18T13:00 2024-12-25T00:00

I would rather write:

openstack esi offer list --availability now '1 week'

Or:

openstack esi lease update --end-time '2 weeks'
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