@take2/oclif-plugin-react
v1.0.5-alpha.0
Published
React plugin for Take2 CLI
Downloads
5
Keywords
Readme
@take2/oclif-plugin-react
React plugin for Take2 CLI
Usage
$ npm install -g @take2/oclif-plugin-react
$ oclif-example COMMAND
running command...
$ oclif-example (-v|--version|version)
@take2/oclif-plugin-react/1.0.5-alpha.0 darwin-x64 node-v10.15.1
$ oclif-example --help [COMMAND]
USAGE
$ oclif-example COMMAND
...
Commands
oclif-example generate:react:component NAME [DIRECTORY]
oclif-example generate:react:screen NAME [DIRECTORY]
oclif-example generate:react:component NAME [DIRECTORY]
generate an Apollo client
USAGE
$ oclif-example generate:react:component NAME [DIRECTORY]
ARGUMENTS
NAME name of your component
DIRECTORY the directory to put your component
OPTIONS
-a, --app=app app name
-f, --force force writing
-j, --js use .js extensions
-p, --pod use pods structure
See code: src/commands/generate/react/component.ts
oclif-example generate:react:screen NAME [DIRECTORY]
generate a React screen
USAGE
$ oclif-example generate:react:screen NAME [DIRECTORY]
ARGUMENTS
NAME name of your screen
DIRECTORY the directory to put your screen
OPTIONS
-a, --app=app app name
-f, --force force writing
-j, --js use .js extensions
-p, --pod use pods structure
See code: src/commands/generate/react/screen.ts