Skip to content

forwardsoftware/react-native-toolbox

Repository files navigation

React Native Toolbox

A set of scripts to simplify React Native development

License oclif

Version Downloads/week

Install

yarn add -D @forward-software/react-native-toolbox

or use it directly with

npx @forward-software/react-native-toolbox <command>

Commands

rn-toolbox dotenv ENVIRONMENTNAME

Manage .env files for react-native-dotenv for a specific environment (development, production, etc...)

USAGE
  $ rn-toolbox dotenv ENVIRONMENTNAME [-h]

ARGUMENTS
  ENVIRONMENTNAME  name of the environment to load .dotenv file for.

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  Manage .env files for react-native-dotenv for a specific environment (development, production, etc...)

EXAMPLES
  $ rn-toolbox dotenv

See code: src/commands/dotenv.ts

rn-toolbox icons [FILE]

Generate app icons using a file as template.

USAGE
  $ rn-toolbox icons [FILE] [-a <value>] [-h] [-v]

ARGUMENTS
  FILE  [default: ./assets/icon.png] Input icon file

FLAGS
  -a, --appName=<value>  App name used to build output assets path. Default is retrieved from 'app.json' file.
  -h, --help             Show CLI help.
  -v, --verbose          Print more detailed log messages.

DESCRIPTION
  Generate app icons using a file as template.

  The template icon file should be at least 1024x1024px.


EXAMPLES
  $ rn-toolbox icons

See code: src/commands/icons.ts

rn-toolbox splash [FILE]

Generate app splashscreens using a file as template.

USAGE
  $ rn-toolbox splash [FILE] [-a <value>] [-h] [-v]

ARGUMENTS
  FILE  [default: ./assets/splashscreen.png] Input splashscreen file

FLAGS
  -a, --appName=<value>  App name used to build output assets path. Default is retrieved from 'app.json' file.
  -h, --help             Show CLI help.
  -v, --verbose          Print more detailed log messages.

DESCRIPTION
  Generate app splashscreens using a file as template.

  The template splashscreen file should be at least 1242x2208px.


EXAMPLES
  $ rn-toolbox splash

See code: src/commands/splash.ts

rn-toolbox help [COMMAND]

Display help for rn-toolbox.

USAGE
  $ rn-toolbox help [COMMAND...] [-n]

ARGUMENTS
  COMMAND...  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for rn-toolbox.

See code: @oclif/plugin-help

License

Mozilla Public License 2.0


Made with ✨ & ❤️ by ForWarD Software and contributors

If you found this project to be helpful, please consider contacting us to develop your React and React Native projects.