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

glot-cli

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

glot-cli - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

src/actions/snippet.js

21

bin/glot.js

@@ -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.
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