From 1f0bec39d914abd4e29d5b547b50cd923c66b919 Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Tue, 18 Jul 2017 16:42:45 +0200 Subject: [PATCH] Hide the intro quickstart message for now (until it gets renovated) --- CHANGELOG.md | 4 ++++ build/actions/auth.js | 2 +- build/actions/help.js | 1 - build/utils/messages.js | 2 -- lib/actions/auth.coffee | 6 +----- lib/actions/help.coffee | 1 - lib/utils/messages.coffee | 6 ------ 7 files changed, 6 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23a6429f..916c8d9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +### Changed + +- Hide the intro quickstart message for now (until it gets renovated) + ## [6.1.0] - 2017-06-30 ### Fixed diff --git a/build/actions/auth.js b/build/actions/auth.js index c4c0ffe5..cea14045 100644 --- a/build/actions/auth.js +++ b/build/actions/auth.js @@ -91,7 +91,7 @@ exports.login = { return login(options); }).then(resin.auth.whoami).tap(function(username) { console.info("Successfully logged in as: " + username); - return console.info("\nNow what?\n\n" + messages.gettingStarted + "\n\nFind out about more super powers by running:\n\n $ resin help\n\n" + messages.reachingOut); + return console.info("\nFind out about the available commands by running:\n\n $ resin help\n\n" + messages.reachingOut); }).nodeify(done); } }; diff --git a/build/actions/help.js b/build/actions/help.js index 5ab34b94..bb57a077 100644 --- a/build/actions/help.js +++ b/build/actions/help.js @@ -56,7 +56,6 @@ print = function(data) { general = function(params, options, done) { var commands, groupedCommands; console.log('Usage: resin [COMMAND] [OPTIONS]\n'); - console.log(messages.gettingStarted + "\n"); console.log(messages.reachingOut); console.log('\nPrimary commands:\n'); commands = _.reject(capitano.state.commands, function(command) { diff --git a/build/utils/messages.js b/build/utils/messages.js index 917f04bf..5875769f 100644 --- a/build/utils/messages.js +++ b/build/utils/messages.js @@ -1,6 +1,4 @@ // Generated by CoffeeScript 1.12.6 -exports.gettingStarted = 'Run the following command to get a device started with Resin.io\n\n $ resin quickstart'; - exports.reachingOut = 'If you need help, or just want to say hi, don\'t hesitate in reaching out at:\n\n GitHub: https://github.com/resin-io/resin-cli/issues/new\n Forums: https://forums.resin.io'; exports.getHelp = 'If you need help, don\'t hesitate in contacting us at:\n\n GitHub: https://github.com/resin-io/resin-cli/issues/new\n Forums: https://forums.resin.io'; diff --git a/lib/actions/auth.coffee b/lib/actions/auth.coffee index 148730c4..40b645ae 100644 --- a/lib/actions/auth.coffee +++ b/lib/actions/auth.coffee @@ -112,11 +112,7 @@ exports.login = console.info("Successfully logged in as: #{username}") console.info """ - Now what? - - #{messages.gettingStarted} - - Find out about more super powers by running: + Find out about the available commands by running: $ resin help diff --git a/lib/actions/help.coffee b/lib/actions/help.coffee index 96dae8a7..7804e56f 100644 --- a/lib/actions/help.coffee +++ b/lib/actions/help.coffee @@ -47,7 +47,6 @@ print = (data) -> general = (params, options, done) -> console.log('Usage: resin [COMMAND] [OPTIONS]\n') - console.log("#{messages.gettingStarted}\n") console.log(messages.reachingOut) console.log('\nPrimary commands:\n') diff --git a/lib/utils/messages.coffee b/lib/utils/messages.coffee index 119bdb77..ef0b1785 100644 --- a/lib/utils/messages.coffee +++ b/lib/utils/messages.coffee @@ -1,9 +1,3 @@ -exports.gettingStarted = ''' - Run the following command to get a device started with Resin.io - - $ resin quickstart -''' - exports.reachingOut = ''' If you need help, or just want to say hi, don't hesitate in reaching out at: