Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

openfin-cli

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openfin-cli - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

7

cli.js

@@ -20,2 +20,9 @@ #!/usr/bin/env node

'--file-name <application name to be used in the config>',
'--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 = "support@openfin.co">',
'--dnl <Installs an application without launching it. Set value to true [dnl=true]>',
'--version current version of the tool',

@@ -22,0 +29,0 @@ 'Example',

20

index.js

@@ -43,9 +43,17 @@ 'use strict';

name = flags.n || flags.name || configObj.startup_app.name || 'openfin',
openfinInstaller = require('openfin-installer')(configObj);
openfinInstaller = require('openfin-installer')(configObj),
fetchOptions = {
noExt : flags.noExt || null,
rvmConfig : flags.rvmConfig || null,
supportEmail : flags.supportEmail || null,
dnl : flags.dnl || null,
destination : flags.d || flags.destination,
config: flags.c || null,
name: name
}
if (destination) {
openfinInstaller
.fetchInstaller({
destination: destination
})
.fetchInstaller(fetchOptions)
.then(function() {

@@ -60,3 +68,5 @@ console.log('Installer zip written to', destination);

if (hyperlink) {
console.log('\n', openfinInstaller.generateInstallUrl(encodeURIComponent(name), installer), '\n');
console.log('\n', openfinInstaller.generateInstallUrl(encodeURIComponent(name), fetchOptions.config,
fetchOptions.noExt, fetchOptions.rvmConfig, fetchOptions.supportEmail, fetchOptions.dnl), '\n');
}

@@ -63,0 +73,0 @@ }

{
"name": "openfin-cli",
"version": "1.0.0",
"version": "1.0.1",
"description": "OpenFin Runtime cli tool",

@@ -5,0 +5,0 @@ "homepage": "http://www.openfin.co",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc