renative icon indicating copy to clipboard operation
renative copied to clipboard

CLI improvements

Open locksten opened this issue 1 year ago • 0 comments

Description

  • Allows unknown cli options for integrations, since they're not known when commander is 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"
Screenshot 2024-03-07 at 01 25 26 Screenshot 2024-03-07 at 01 25 37

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

locksten avatar Mar 04 '24 17:03 locksten