garden-rs / garden

Garden grows and cultivates collections of Git trees ~ Official mirror of https://gitlab.com/garden-rs/garden
https://garden-rs.gitlab.io
MIT License
64 stars 9 forks source link

variables: add GARDEN_CMD_QUIET and GARDEN_CMD_VERBOSE for use by commands #27

Closed davvid closed 6 months ago

davvid commented 6 months ago

Make it easy to pass-through the user-specified verbosity flags by providing a garden variable that is suitable for using in a command.

The "-v" flag can be specified multiple times so it is provided using the short "-vv" option when "--verbose --verbose" is specified.