@torigetz/rncli

0.0.1 • Public • Published

rncli

Convenient CLI for React Native apps

Install

$ npm install -g @torigetz/rncli

How to use

First install preset (rncli-expo-ts for example)

$ npm install -g rncli-expo-ts

Create file rncli.config.js in yourt RN app root

module.exports = {
    preset: 'rncli-expo-ts' // insert the installed preset here
}

Also you can use custom config

$ rncli --config ./custom-config.js

You can create component

$ rncli generate component button
# or 
$ rncli g c button
# or create container
$ rncli g container app

All templates:

$ rncli g help

Or get help

$ rncli --help

Debug mode

$ export RNCLI_DEBUG=true
$ rncli g c textfield # output with debug logs...

Readme

Keywords

none

Package Sidebar

Install

npm i @torigetz/rncli

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

12.6 kB

Total Files

18

Last publish

Collaborators

  • torigetz