vendure
vendure copied to clipboard
feat(cli): Non-interactive mode for CLI
Description
The current CLI implementation is interactive, which makes it only usable for humans on the command line. This PR introduces a non-interactive mode, which enables users to use the CLI in combination with other tools like Nx. It exposes all the possible input options as command options. When not using the --non-interactive
flag, users can also use the input options, so that they get prompted fewer questions.
Breaking changes
There are no breaking changes.
Checklist
📌 Always:
- [x] 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