rnplay-cli

0.3.2 • Public • Published

rnplay-cli

Command line interface for the React Native Playground.

Use it to setup your React Native apps to be pushed up to rnplay.org using git.

Usage

Authentication

Fetch your authentication token http://rnplay.org/users/edit.

Then run this command and enter your token. It's saved in ~/.rnplay

rnplay -a

Setup an app for push

To create a record for your existing app on rnplay.org, and setup a git remote for it, run:

rnplay -c

Finally, push your app using git:

git push rnplay master

This command stores your app's new unique ID in .rnplay. You may want to .gitignore it.

Opening the app

To open in the browser:

rnplay -o

Readme

Keywords

none

Package Sidebar

Install

npm i rnplay-cli

Weekly Downloads

0

Version

0.3.2

License

MIT

Last publish

Collaborators

  • jsierles