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

@hyperone/cli-core

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperone/cli-core - npm Package Compare versions

Comparing version 2.0.12 to 2.0.13

6

package.json
{
"name": "@hyperone/cli-core",
"version": "2.0.12",
"version": "2.0.13",
"description": "",

@@ -8,3 +8,3 @@ "main": "index.js",

"@apidevtools/json-schema-ref-parser": "^9.0.3",
"@hyperone/cli-framework": "^2.0.12",
"@hyperone/cli-framework": "^2.0.13",
"abort-controller": "^3.0.0",

@@ -31,3 +31,3 @@ "camel-case": "^4.1.1",

"license": "MIT",
"gitHead": "e22e39d7d1eb78f58a5a8fb2589ab7f825a04416"
"gitHead": "9f7621663b4418ffaf570e6a0d025f4b73ec2626"
}

@@ -7,16 +7,19 @@ import http from '../lib/http';

name: __filename.split('/').pop(),
beforeParseArgv: (cmd) => cmd.options.push(
{
name: 'passport-file',
typeLabel: 'path',
description: 'Passport file. Default value is ```~/.h1/passport.json```, if available.',
group: ['global'],
},
{
name: 'as',
typeLabel: 'uri',
description: 'Act as another actor eg. service account',
group: ['global'],
}
),
beforeParseArgv: (cmd) => {
if (cmd.findCommand) return;
cmd.options.push(
{
name: 'passport-file',
typeLabel: 'path',
description: 'Passport file. Default value is ```~/.h1/passport.json```, if available.',
group: ['global'],
},
{
name: 'as',
typeLabel: 'uri',
description: 'Act as another actor eg. service account',
group: ['global'],
}
);
},
beforeCommandStart: async (opts, cmd) => {

@@ -23,0 +26,0 @@ const optsAll = opts._all || opts;

@@ -51,20 +51,24 @@ import jmespath from 'jmespath';

name: __filename.split('/').pop(),
beforeParseArgv: (cmd) => cmd.options.push(...[
{
name: 'output',
alias: 'o',
description: 'Specify output format of command',
type: String,
typeLabel: `${Object.keys(outputFormat).join(',')}`,
defaultValue: 'yaml',
group: ['global'],
},
{
name: 'query',
description: 'JMESPath query string',
type: String,
defaultValue: cmd.defaultQuery,
group: ['global'],
},
]),
beforeParseArgv: (cmd) => {
if (cmd.findCommand) return;
cmd.options.push(...[
{
name: 'output',
alias: 'o',
description: 'Specify output format of command',
type: String,
typeLabel: `${Object.keys(outputFormat).join(',')}`,
defaultValue: 'yaml',
group: ['global'],
},
{
name: 'query',
description: 'JMESPath query string',
type: String,
defaultValue: cmd.defaultQuery,
group: ['global'],
},
]);
},
beforeCommandStart: async (opts) => {

@@ -71,0 +75,0 @@ const optsAll = opts._all || opts;

export default {
name: __filename.split('/').pop(),
beforeParseArgv: (cmd) => cmd.options.push(
{
name: 'no-wait',
type: Boolean,
choices: ['true', 'false'],
defaultValue: false,
description: 'In case of queued event do not wait for completion',
group: ['global'],
}
),
beforeParseArgv: (cmd) => {
if (cmd.findCommand) return;
cmd.options.push(
{
name: 'no-wait',
type: Boolean,
choices: ['true', 'false'],
defaultValue: false,
description: 'In case of queued event do not wait for completion',
group: ['global'],
}
);
},
beforeCommandStart: async (opts) => {

@@ -15,0 +19,0 @@ const optsAll = opts._all || opts;

export default {
name: __filename.split('/').pop(),
beforeParseArgv: (cmd) => cmd.options.push({
name: 'verbose',
type: Boolean,
description: 'Make the operation more talkative.',
defaultValue: false,
group: ['global'],
}),
beforeParseArgv: (cmd) => {
if (cmd.findCommand) return;
cmd.options.push({
name: 'verbose',
type: Boolean,
description: 'Make the operation more talkative.',
defaultValue: false,
group: ['global'],
});
},
beforeCommandStart: async (opts, cmd) => {

@@ -12,0 +16,0 @@ const allOpts = opts._all || opts || {};

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