hetznercloud / cli

A command-line interface for Hetzner Cloud
MIT License
1.12k stars 80 forks source link

image/snapshot list sorting #373

Closed rbeier closed 2 years ago

rbeier commented 2 years ago

Hi,

at first: thank you for the excellent cli. Much fun to work with!

It would be really nice if you could add a flag for sorting the image (snapshot) list. When automating server creation i want to get the ID of the most recent snapshot.

hcloud image list -t snapshot -o noheader -o columns=id

Thanks a lot.

github-actions[bot] commented 2 years ago

This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.

LKaemmerling commented 2 years ago

Hey @rbeier,

sorry for the rather late reply, we were quite busy. I just opened up an MR to add support for sorting all of our resources: https://github.com/hetznercloud/cli/pull/390