linode / linode/linode-cli

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

Abierto
#868 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

enhancement
Lenguaje dominante
Python
Estrellas
442
Forks
159
Merge medio
7 d 21 h
PR fusionados (30 d)
8

Descripción

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

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
cli, cloud
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.