oclif example Hello World CLI
$ npm install -g react-native-utilities-cli
$ react-native-utilities-cli COMMAND
running command...
$ react-native-utilities-cli (--version)
react-native-utilities-cli/0.0.5 darwin-x64 node-v20.10.0
$ react-native-utilities-cli --help [COMMAND]
USAGE
$ react-native-utilities-cli COMMAND
...
react-native-utilities-cli add component DIRECTORY COMPONENTNAME
react-native-utilities-cli help [COMMANDS]
react-native-utilities-cli initialize DIRECTORY
Create a component with some boilerplate
USAGE
$ react-native-utilities-cli add component DIRECTORY COMPONENTNAME [-h]
ARGUMENTS
DIRECTORY Fullpath to react-native project directory.
COMPONENTNAME Name of the component to create.
FLAGS
-h, --help Show CLI help.
DESCRIPTION
Create a component with some boilerplate
EXAMPLES
$ oex initialize
See code: src/commands/add/component.ts
Display help for react-native-utilities-cli.
USAGE
$ react-native-utilities-cli help [COMMANDS] [-n]
ARGUMENTS
COMMANDS Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for react-native-utilities-cli.
See code: @oclif/plugin-help
Initialize the project, by adding baseline screens, navigation and redux stores for the screens.
USAGE
$ react-native-utilities-cli initialize DIRECTORY [-h]
ARGUMENTS
DIRECTORY Fullpath to react-native project directory.
FLAGS
-h, --help Show CLI help.
DESCRIPTION
Initialize the project, by adding baseline screens, navigation and redux stores for the screens.
EXAMPLES
$ oex initialize
See code: src/commands/initialize.ts