vendure
vendure copied to clipboard
feat(cli): Add non-interactive CLI commands
Description
The current CLI implementation is interactive, which makes it only usable for humans on the command line. That of course makes automation practically impossible.
This PR introduces non-interactive commands for the existing add
commands in the CLI. The motivation behind that is to enable non-interactive script mechanisms that could potentially be used in monorepos.
Furthermore, we expose the generator APIs to that they can also be used from the outside.
Breaking changes
None
Checklist
📌 Always:
- [ ] I have set a clear title
- [ ] My PR is small and contains a single feature
- [ ] I have checked my own PR
👍 Most of the time:
- [ ] I have added or updated test cases
- [ ] I have updated the README if needed