Add command to recursively print `help`
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Empieza siguiendo el comando --help existente en dry-cli y revisa las solicitudes vinculadas de dry-cli para conocer el contexto previo. Se considera terminado cuando un nuevo comando muestra el árbol de comandos completo, mientras el comportamiento actual de --help de un solo nivel permanece sin cambios; todavía hay que decidir el nombre del comando.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Right now, --help only goes one level deep. I think we should keep it that way, but it'd be nice to have another command that recursively prints out every command (that is, print the whole tree, including subcommands).
I could see it being useful for getting an idea of all the available commands, and also something someone could pipe to grep to find the command they're looking for.
Examples
Right now:
hanami --help
Commands:
hanami assets [SUBCOMMAND]
hanami console # Starts Hanami console
hanami db [SUBCOMMAND]
...
Proposed:
hanami --help-all (Not sure what the best name would be)
Commands:
hanami assets precompile # Precompile assets for deployment
hanami console # Starts Hanami console
hanami db apply # Migrate, dump the SQL schema, and delete the migrations (experimental)
hanami db console # Starts a database console
hanami db create # Create the database (only for development/test)
hanami db drop # Drop the database (only for development/test)
hanami db migrate [VERSION] # Migrate the database
hanami db prepare # Drop, create, and migrate the database (only for development/test)
hanami db rollback [STEPS] # Rollback migrations
hanami db version # Print the current migrated version
...
Resources
This request from @unrooty https://github.com/dry-rb/dry-cli/issues/55#issuecomment-580596940
This request from @kigster https://github.com/dry-rb/dry-cli/issues/55#issuecomment-520124037
- Lenguaje dominante
- Ruby
- Estrellas
- 359
- Forks
- 40
- Merge medio
- 2 d 6 h
- PR fusionados (30 d)
- 5
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de dry-rb/dry-cli
-
bug help wanted
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
dry-rb/dry-cli#133 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
-
More powerful optionsAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
dry-rb/dry-cli#129 · 3 comentarios ·
Los mantenedores suelen responder en 2 días
-
Mutually-exclusive arguments or optionsPosiblemente ocupada @gustavothecoder la tomó hace 657 días. Abiertobug help wanted
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 2 días
-
Request for comments: Support for shell autocompletionPosiblemente ocupada @gustavothecoder la tomó hace 677 días. Abiertobug help wanted
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
dry-rb/dry-cli#123 · 7 comentarios · 2 reacciones ·
Los mantenedores suelen responder en 2 días
-
feature
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
Los mantenedores suelen responder en 2 días
Todos los issues de dry-rb/dry-cli
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
thewca/worldcubeassociation.org#16088 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
enhancement help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ecosyste-ms/repos#1215 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
WikiEducationFoundation/WikiEduDashboard#7157 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día