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

Sort options #708

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Sort options #708

wants to merge 1 commit into from

Conversation

gergelyk
Copy link

@gergelyk gergelyk commented Dec 30, 2024

📝 Description

Solves #650

✔️ How to Test

Invoke -h with any command and check if options are sorted alphabetically.

📷 Preview

$ linode-cli linodes create -h
[...]
Create a Linode.

optional arguments:
  --authorized_keys authorized_keys
  --authorized_users authorized_users
  --backup_id backup_id
  --backups_enabled backups_enabled
  --booted booted
  --disk_encryption disk_encryption
  --firewall_id firewall_id
  --group group
  --image image
  --interfaces interfaces
  --interfaces.ip_ranges ip_ranges
  --interfaces.ipam_address ipam_address
  --interfaces.ipv4.nat_1_1 nat_1_1
  --interfaces.ipv4.vpc vpc
  --interfaces.label label
  --interfaces.primary primary
  --interfaces.purpose purpose
  --interfaces.subnet_id subnet_id
  --label label
  --metadata.user_data user_data
  --placement_group.id id
  --private_ip private_ip
  --region region
  --root_pass [ROOT_PASS]
  --stackscript_data stackscript_data
  --stackscript_id stackscript_id
  --swap_size swap_size
  --tags tags
  --type type
  -h, --help            show this help message and exit

@gergelyk gergelyk requested a review from a team as a code owner December 30, 2024 09:46
@gergelyk gergelyk requested review from jriddle-linode and zliang-akamai and removed request for a team December 30, 2024 09:46
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

Successfully merging this pull request may close these issues.

1 participant