[Feature]: support "help" as a subcommand synonymous with "--help"

Aperta
#868 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
cli, cloud

Direzione di ricerca

Start at the CLI entry points that parse <command> help, --help, and -h, and compare their current behavior. Clarify whether the change is only an alias or also requires a paged manual, then identify the existing CLI checks for help output and verify the agreed behavior for stdout and the default pager.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
Description

Across all the different cloud providers, it becomes easy to forget which option brings up the documentation, manual page, or usage. I frequently find myself typing linode <command> help, only to then have to go back and running linode <command> --help (or -h).

It'd be nice if help as a subcommand was synonymous with --help. It'd be even nicer if a help subcommand brought up a full manual page similar to how AWS cli tools do it. Ideally, you'd then have linode <command> help get you the full, detailed manual page in the default pager and lincode <command> --help give you the summary of supported command-line options on stdout only.

Potential Usage Example

No response

Lingua principale
Python
Stelle
442
Fork
159
Merge medio
7g 21h
PR unite (30g)
8

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linode/linode-cli

Tutte le issue di linode/linode-cli

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.