Comparing version 0.0.12 to 0.0.13
@@ -6,3 +6,3 @@ 'use strict'; | ||
}); | ||
exports.build = build; | ||
exports.default = build; | ||
@@ -9,0 +9,0 @@ var _path = require('path'); |
@@ -14,2 +14,8 @@ #!/usr/bin/env node | ||
var _build2 = _interopRequireDefault(_build); | ||
var _run = require('./run'); | ||
var _run2 = _interopRequireDefault(_run); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -21,3 +27,3 @@ | ||
var executeCommand = (0, _ramda.cond)([[commandEquals('init'), init], [commandEquals('build'), _build.build], [commandEquals('rung'), run]]); | ||
var executeCommand = (0, _ramda.cond)([[commandEquals('init'), init], [commandEquals('build'), _build2.default], [commandEquals('run'), _run2.default]]); | ||
@@ -36,6 +42,2 @@ function cli(args) { | ||
function run() /* args */{ | ||
return (0, _bluebird.reject)('Not implemented yet!'); | ||
} | ||
cli(_yargs2.default.usage('Usage: $0 [init|build|run]').command('init', 'Initialize a blank extension project').command('build', 'Generate a .rung package').command('run', 'Execute the current extension').option('o', { | ||
@@ -42,0 +44,0 @@ alias: 'output', |
@@ -57,4 +57,6 @@ 'use strict'; | ||
* Returns the pure JS values from received questions that will be answered | ||
* | ||
* @author Marcelo Haskell Camargo | ||
* @param {Object} questions | ||
* @return {Object} answers for the questions by key | ||
* @return {Promise} answers for the questions by key | ||
*/ | ||
@@ -61,0 +63,0 @@ function ask(questions) { |
{ | ||
"name": "rung-cli", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "Command line interface for Rung", | ||
@@ -25,2 +25,5 @@ "main": "./dist/vm.js", | ||
"ramda": "0.23.0", | ||
"rung-sdk": "^1.0.7", | ||
"superagent": "^3.5.0", | ||
"superagent-promise": "^1.1.0", | ||
"validator": "7.0.0", | ||
@@ -27,0 +30,0 @@ "yargs": "^7.0.2" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
205541
474
11
+ Addedrung-sdk@^1.0.7
+ Addedsuperagent@^3.5.0
+ Addedsuperagent-promise@^1.1.0
+ Addedasynckit@0.4.0(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addedcomponent-emitter@1.3.1(transitive)
+ Addedcookiejar@2.1.4(transitive)
+ Addeddebug@3.2.7(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addedextend@3.0.2(transitive)
+ Addedform-data@2.5.2(transitive)
+ Addedformidable@1.2.6(transitive)
+ Addedmethods@1.1.2(transitive)
+ Addedmime@1.6.0(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedms@2.1.3(transitive)
+ Addedobject-inspect@1.13.4(transitive)
+ Addedqs@6.14.0(transitive)
+ Addedrung-sdk@1.0.7(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedside-channel@1.1.0(transitive)
+ Addedside-channel-list@1.0.0(transitive)
+ Addedside-channel-map@1.0.1(transitive)
+ Addedside-channel-weakmap@1.0.2(transitive)
+ Addedsuperagent@3.8.3(transitive)
+ Addedsuperagent-promise@1.1.0(transitive)
+ Addedvalidator@6.3.0(transitive)