[Feature]: sort command-line options in help output
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by locating the code that generates help output for linode-cli commands, then run linode-cli linodes create -h to reproduce the current ordering. Apply the alphabetical ordering consistently to the other CLI tools and verify their help output matches the requested ordering.
Written by the indexing model from the issue text.
Description
Description
When running -h to view available options, it would be useful if the options were sorted alphabetically. That makes it a lot easier to find an option one is looking for.
Potential Usage Example
$ linode-cli linodes create -h
[...]
options:
-h, --help show this help message and exit
--authorized_keys authorized_keys
--authorized_users authorized_users
--backup_id backup_id
--backups_enabled backups_enabled
--booted booted
--firewall_id firewall_id
--group group
--image image
--interfaces interfaces
--interfaces.active active
--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
--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
$
(Likewise for all other cli tools.)
- Dominant language
- Python
- Stars
- 442
- Forks
- 159
- Avg merge
- 7d 21h
- Merged PRs (30d)
- 8
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linode/linode-cli
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
linode/linode-cli#894 ·
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 85/100
linode/linode-cli#859 · 1 comment ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
linode/linode-cli#868 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
linode/linode-cli#825 · 1 comment ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
linode/linode-cli#788 ·
All issues in linode/linode-cli
Similar issues
-
triage/confirmed
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100