Socket
Socket
Sign inDemoInstall

@hubspot/cms-cli

Package Overview
Dependencies
Maintainers
13
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hubspot/cms-cli - npm Package Compare versions

Comparing version 2.1.1-beta.3 to 2.1.1-beta.4

44

commands/logs.js

@@ -159,9 +159,7 @@ const readline = require('readline');

} else {
logsResp = await getFunctionLogs(portalId, functionResp.id);
logsResp = await getFunctionLogs(portalId, functionResp.id, options);
}
if (logsResp) {
return outputLogs(logsResp, {
compact,
});
return outputLogs(logsResp, options);
}

@@ -175,17 +173,25 @@ };

});
yargs.option('latest', {
alias: 'l',
describe: 'retrieve most recent log only',
type: 'boolean',
});
yargs.option('compact', {
alias: 'c',
describe: 'output compact logs',
type: 'boolean',
});
yargs.option('follow', {
alias: ['t', 'tail', 'f'],
describe: 'follow logs',
type: 'boolean',
});
yargs
.options({
latest: {
alias: 'l',
describe: 'retrieve most recent log only',
type: 'boolean',
},
compact: {
describe: 'output compact logs',
type: 'boolean',
},
follow: {
alias: ['t', 'tail', 'f'],
describe: 'follow logs',
type: 'boolean',
},
limit: {
alias: ['limit', 'n', 'max-count'],
describe: 'limit the number of logs to output',
type: 'number',
},
})
.conflicts('follow', 'limit');

@@ -192,0 +198,0 @@ addConfigOptions(yargs, true);

{
"name": "@hubspot/cms-cli",
"version": "2.1.1-beta.3",
"version": "2.1.1-beta.4",
"description": "CLI for interacting with the HubSpot CMS",

@@ -11,3 +11,3 @@ "license": "Apache-2.0",

"dependencies": {
"@hubspot/cms-lib": "^2.1.0",
"@hubspot/cms-lib": "^2.1.1-beta.4",
"chalk": "^4.1.0",

@@ -35,3 +35,3 @@ "commander": "^2.16.0",

},
"gitHead": "5882397b0f6278a55c9f08a1f78250307eef50eb"
"gitHead": "4d71b65749294b3e3825b0d96e31d943adcd62ee"
}
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