Closed Nikhil-Vats closed 4 years ago
Please update the README
Also, please attach relevant information like what arguments to pass, default behaviour, etc. here as well.
@sarthak-sehgal I have updated the PR with the relevant information. I will update the documentation soon in a separate PR.
Description
This adds the option to run the generator in the directory mentioned in the argument. Also changes the tests accordingly.
yo @biojs/biojs-webcomponents
will run the generator in a new directory namedweb-component
in the current directory. If this directory already exists, the generator will run in the existing one.yo @biojs/biojs-webcomponents .
will run the generator in the current directory.yo @biojs/biojs-webcomponents /pathToDIrectory
will run the generator in the directory whose path is passed. If the directory whose path is passed doesn't exist, the generator will create a new directory.Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!