[Feature]: support "help" as a subcommand synonymous with "--help"
Personne n'a encore pris cette issue.
- Langage dominant
- Python
- Étoiles
- 442
- Forks
- 159
- Merge moyen
- 7 j 21 h
- PR mergées (30 j)
- 8
Description
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
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python
- Domaine
- cli, cloud
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100