Skip to content

Latest commit

 

History

History
70 lines (47 loc) · 1.52 KB

File metadata and controls

70 lines (47 loc) · 1.52 KB

OpenFin Runtime cli tool

Build Status

The OpenFin Cli tool will allow you to launch the OpenFin runtime given a url or a configuration file, it will also allow you to create configuration files by giving only name and url.

Dependencies

You will need Node.js to use the tool and creating configs will work cross platform, but launching the OpenFin runtime is restricted to Windows at the moment.

Install

$ npm install -g openfin-cli

Usage

$ npm install --global openfin-cli
$ openfin --help

##Examples

####Launching an application

$ openfin --launch --url http://www.openfin.co

Shorthand

$ openfin -l -u http://www.openfin.co

####Creating a config file

$ openfin --config myconfig.json --name myAppName --url http://www.openfin.co

Shorthand

$ openfin  -c myconfig.json -n myAppName -u http://www.openfin.co

####Launching a given config file

$ openfin --launch --config myconfig.json

Shorthand

$ openfin -l -c myconfig.json

License

MIT