From 78c893a035f2ab90bfec03775f3ba0abb403adf2 Mon Sep 17 00:00:00 2001 From: Austen Collins Date: Sat, 22 Aug 2015 23:59:19 -0700 Subject: [PATCH] install: remove provision option --- bin/jaws | 5 ++--- lib/commands/install.js | 15 ++++++++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/bin/jaws b/bin/jaws index 7d55f53bc..f2a60975f 100755 --- a/bin/jaws +++ b/bin/jaws @@ -21,10 +21,9 @@ program program .command('install ') .description('Installs an jaws-module') - .option('-s, --save', 'Save jaws-module\'s CloudFormation Template to your project\'s') - .option('-p, --pro', 'Save and provision the resources in this jaws-module\'s CloudFormation Template') + .option('-s, --save', 'Save jaws-module\'s CloudFormation and Swagger Template to your project\'s') .action(function(url, options) { - handleExit(JAWS.install(url, options.save, options.pro)); + handleExit(JAWS.install(url, options.save)); }); program diff --git a/lib/commands/install.js b/lib/commands/install.js index e398cfdf2..322e2b460 100644 --- a/lib/commands/install.js +++ b/lib/commands/install.js @@ -145,7 +145,7 @@ function _installFiles(url) { /** - * Save CF Template Snippet + * Save CloudFormation Snippet */ function _saveCfTemplate() { @@ -153,10 +153,19 @@ function _saveCfTemplate() { } +/** + * Save Swagger Template + */ + +function _saveSwaggerTemplate() { + +} + + module.exports = function(JAWS) { - JAWS.install = function(url, save, provision) { - console.log(url, save, provision); + JAWS.install = function(url, save) { + console.log(url, save); return _installFiles(url) }; };