You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
...
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
Proposed:
hanami --help-all
(Not sure what the best name would be)Resources
This request from @unrooty #55 (comment)
This request from @kigster #55 (comment)
The text was updated successfully, but these errors were encountered: