Git Product home page Git Product logo

openfin-cli's Introduction

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

$ openfin --help

Examples

Launching OpenFin Demos

$ openfin --launch --config http://cdn.openfin.co/demos/hyperblotter/app.json
$ openfin --launch --config https://demoappdirectory.openf.in/desktop/config/apps/OpenFin/HelloOpenFin/app.json

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
$ openfin --launch --config http://goo.gl/w2747v

Shorthand

$ openfin -l -c myconfig.json
$ openfin -l -c http://goo.gl/w2747v

Generate installer URL

Will print a url to the console with the name proivided via the -n flag and the hosted confg file url provided via the -c flag

$ openfin -n OpenFinPOC -c http://goo.gl/w2747v -h

Download an installer zip locally

Use the -d or --destination flag to specify the directory of the download. To download to the current directory use -d . or --destination .

$ openfin --destination my-dist-directory --installer http://goo.gl/w2747v

Shorthand

$ openfin -d my-dist-directory -i http://goo.gl/w2747v

Installer config options

--no-ext If set “true”, the file is extention-less'
--rvm-config URL that points to the RVM config. Must be a full URL.'
'--support-email The email address to display in the installer when an error occurs. Default value = [email protected]"'
--dnl Installs an application without launching it. Set value to true [dnl=true]'

License

MIT

By downloading OpenFin, you agree to the terms of our Developer License

openfin-cli's People

Contributors

colineberhardt avatar datamadic avatar mjosling avatar rdepena avatar vp2177 avatar wenjunche avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.