ti-switch

0.0.5 • Public • Published

ti-switch

Build Status npm version Code Climate Test Coverage

CLI tool for switching configuration files within Titanium App.

Install

sudo npm install ti-switch

Example

To switch to use the dev version of files run the following command. This needs to be run from the root directory of your titanium application.

ti-switch dev

This will the search for any files in the app folder that end with .dev. The file will then be copied to the same location but without the .dev extension. This will overwriting any existing file.

e.g

./app/fileOne.txt.dev would be coppied to ./app/fileOne.txt

Full Usage

ti-switch --help

Usage: ti-switch <enviroment> - e.g prod, ppt or dev

Simple CLI to manage configuration files.

Options:

  -h, --help     output usage information
  -v, --version  output the version number

Readme

Keywords

none

Package Sidebar

Install

npm i ti-switch

Weekly Downloads

1

Version

0.0.5

License

GPL-3.0

Last publish

Collaborators

  • thebookpeople