linode / linode/linode-cli

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

Ouverte
#868 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

enhancement
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

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. 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

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.