Socket
Socket
Sign inDemoInstall

nscale-client

Package Overview
Dependencies
Maintainers
3
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nscale-client - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

docs/help.txt

48

lib/main.js

@@ -21,2 +21,4 @@ /*

var _ = require('lodash');
var fs = require('fs');
var path = require('path');
var cliTable = require('cli-table');

@@ -102,45 +104,5 @@ var sdk = require('nscale-sdk/main')();

function showHelp() {
console.log('');
console.log('-[ login ]----------');
console.log('login - login to the nominated host');
console.log('logout - logout from the nominated host');
console.log('use host [port] - use the given host and optional port');
console.log('help - show this');
console.log('');
console.log('-[ system ]----------');
console.log('system create - create a new blank system');
console.log('system clone - clone a system from an existing git remote');
// FIXME this command is not exposed
//console.log('add system remote - add a remote url to an existing system');
console.log('system sync - pull and push to the system remote');
// disabled by @mcollina
//console.log('system delete <systemid> - delete a system');
console.log('system list - list all systems in this instance');
console.log('system put - put a new revision of the system');
console.log('system deployed <systemid> - get the deployed revision of this system');
console.log('system analyze <systemid> - run an analysis for this system and output the results');
console.log('system check <systemid> - run an analysis and check it against the expected deployed system configuration');
console.log('');
console.log('-[ container ]----------');
console.log('container put - put a new revision a container');
console.log('container list <systemid> - list all containers in this system');
console.log('container build <systemid> <containerid> - build a specific container');
//console.log('container add <systemid> - add a new container');
console.log('container edit <systemid> <containerid> - edit a container');
console.log('container delete <systemid> <continaerid> - delete a container');
console.log('');
console.log('-[ revision ]----------');
console.log('revision get <systemid> <revisionid> - get a specific revision for a system');
console.log('revision list <systemid> - list revision history for this system');
console.log('revision deploy <systemid> <revisionid> - deploy a specific revision of this system');
console.log('revision mark <systemid> <revisionid> - mark a specific revision as deployed');
console.log('revision preview <systemid> <revisionid> - preview the deploy operations for a specific revision of this system');
console.log('');
console.log('-[ remote ]----------');
console.log('remote add <systemid> <url> - add a remote to an existing system');
console.log('');
console.log('-[ timeline ]----------');
console.log('timeline list <systemid> - list the timeline for this system');
console.log('');
process.exit(0);
var file = path.join(__dirname, '../', 'docs', 'help.txt');
fs.createReadStream(file)
.pipe(process.stdout);
}

@@ -147,0 +109,0 @@

@@ -12,3 +12,3 @@ {

],
"version": "0.1.0",
"version": "0.1.1",
"license": "Artistic License 2.0",

@@ -15,0 +15,0 @@ "author": "Peter Elger (http://nearform.com/)",

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