[Feature]: sort command-line options in help output
オープン
まだ誰も着手していません。
enhancement
- 主要言語
- Python
- スター
- 442
- フォーク
- 159
- 平均マージ
- 7日 21時間
- マージ済み PR(30日)
- 8
説明
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.)
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、linode-cli コマンドのヘルプ出力を生成するコードを見つけ、次に linode-cli linodes create -h を実行して現在の順序を再現します。ほかの CLI ツールにもアルファベット順を一貫して適用し、それらのヘルプ出力が要求された順序と一致することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100