renative
renative copied to clipboard
CLI improvements
Description
- Allows unknown cli options for integrations, since they're not known when
commanderis being set up. - Adds some TODO comments for other cli issues.
- update cli logging
- allow integrations to have single command tasks
How to test integration:
cd packages/app-harness
rnv starter hello -p ios --my-opt=hello
# prints: Hello from Integration Starter!
# --my-opt: "hello"
cd packages/app-harness
rnv starter-single-command -p ios --my-opt=hello
# prints: Hello from Integration Starter!
# --my-opt: "hello"
TODO NOTES:
– integrations can't use options that rnv uses, like "--version", because rnv just prints its version and exits.
– when using executeAsync(), spaces must be manually escaped.
Related issues
- TODO
Npm releases
n/a