Comparing version 1.0.4 to 1.0.5
@@ -5,20 +5,5 @@ #!/usr/bin/env node | ||
const Program = require('commander'); | ||
const Vorpal = require('vorpal'); | ||
Program | ||
.version('1.0.0') | ||
.arguments('<cmd> [options...]') | ||
.option('-t, --title <n>', 'Snippet title') | ||
.option('-l, --language <n>', 'Snippet language') | ||
.action((cmd, options) => { | ||
try { | ||
require(`../cli/${cmd}`)[cmd](options, Program); | ||
} | ||
catch (e) { | ||
console.log(`Command ${cmd} does not exists`); | ||
} | ||
}) | ||
.parse(process.argv); | ||
require('../src/bootstrap').bootstrap(new Vorpal()); | ||
{ | ||
"name": "glot-cli", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "CLI tool for glot.io", | ||
@@ -19,6 +19,6 @@ "main": "index.js", | ||
"dependencies": { | ||
"commander": "^2.9.0", | ||
"copy-paste": "^1.1.4", | ||
"progress": "^1.1.8", | ||
"superagent": "^1.8.3" | ||
"superagent": "^1.8.3", | ||
"vorpal": "^1.10.10" | ||
}, | ||
@@ -25,0 +25,0 @@ "bugs": { |
# glot-cli | ||
[![NPM Version](https://img.shields.io/npm/v/glot-cli.svg)](https://npmjs.org/package/glot-cli) | ||
`glot-cli` is a CLI tool for [https://glot.io](https://glot.io). | ||
@@ -26,2 +29,2 @@ | ||
For now it only supports a list of files, wildcard will be coming soon. | ||
For now it only supports a list of files, wildcard will be coming soon. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
6584
9
126
30
3
1
+ Addedvorpal@^1.10.10
+ Addedansi-escapes@1.4.0(transitive)
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedbabel-polyfill@6.26.0(transitive)
+ Addedbabel-runtime@6.26.0(transitive)
+ Addedchalk@1.1.3(transitive)
+ Addedcli-cursor@1.0.2(transitive)
+ Addedcli-width@1.1.1(transitive)
+ Addedcode-point-at@1.1.0(transitive)
+ Addedcore-js@2.6.12(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedexit-hook@1.1.1(transitive)
+ Addedfigures@1.7.0(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedin-publish@2.0.1(transitive)
+ Addedinquirer@0.11.0(transitive)
+ Addedis-fullwidth-code-point@1.0.0(transitive)
+ Addedlodash@3.10.14.17.21(transitive)
+ Addedlog-update@1.0.2(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmute-stream@0.0.5(transitive)
+ Addednode-localstorage@0.6.0(transitive)
+ Addednumber-is-nan@1.0.1(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedonetime@1.1.0(transitive)
+ Addedreadline2@1.0.1(transitive)
+ Addedregenerator-runtime@0.10.50.11.1(transitive)
+ Addedrestore-cursor@1.0.1(transitive)
+ Addedrun-async@0.1.0(transitive)
+ Addedrx-lite@3.1.2(transitive)
+ Addedstring-width@1.0.2(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.0(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedvorpal@1.12.0(transitive)
+ Addedwrap-ansi@2.1.0(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedcommander@^2.9.0
- Removedcommander@2.20.3(transitive)