/dva-native-cli

instructions of creating a cli tool

Primary LanguageJavaScript

dva-native-cli

dva command line utility for react-native based on dva and react-native-dva-starter

Getting started

## usage
npm install dva-native-cli

## create your project
dva-native new app 
cd app
react-native run-ios # or run-android

## create the latest
dva-native git app

Commands

Two command including new and git

  • dva-native new [name]
generate a stable project
  • dva-native git [name]
generate a latest project
  • notice

if you use new or git but not typing projectname, its default name is app

LICENSE

MIT