herbsjs / herbs-cli

Herbs CLI
https://herbsjs.org/
MIT License
29 stars 30 forks source link

Path as a parameter to herbs update and herbs spec #171

Open vitorgamer58 opened 1 year ago

vitorgamer58 commented 1 year ago

Is your feature request related to a problem? Please describe. Herbs update and herbs spec commands must receive an optional parameter, enabling the test folder to be changed.

Describe the solution you'd like As described in https://github.com/herbsjs/herbs-cli/pull/170#issuecomment-1322166236, the commands must receive a parameter to change the default folder.

Describe alternatives you've considered I considered changing the default folders in herbarium.requireAll() as well as in herbs new, changing all the templates, in effect implementing a kind of breaking change.

However, the change was denied in: https://github.com/herbsjs/herbs-cli/pull/170

Additional context https://github.com/herbsjs/herbarium/issues/6