herbs-cli icon indicating copy to clipboard operation
herbs-cli copied to clipboard

Path as a parameter to herbs update and herbs spec

Open vitorgamer58 opened this issue 2 years ago • 0 comments

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

vitorgamer58 avatar Nov 23 '22 01:11 vitorgamer58