From 66711afaebd94a44a51042183cbee8d67d4d2d66 Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Sat, 22 Oct 2016 11:49:21 +0200 Subject: [PATCH] Capitalize command descriptions --- bin/now-alias | 10 ++++------ bin/now-certs | 12 ++++++------ bin/now-deploy | 42 +++++++++++++++++++++--------------------- bin/now-domains | 8 ++++---- bin/now-list | 8 ++++---- bin/now-remove | 8 ++++---- bin/now-secrets | 10 +++++----- 7 files changed, 48 insertions(+), 50 deletions(-) diff --git a/bin/now-alias b/bin/now-alias index 15fc122..2f9efbc 100755 --- a/bin/now-alias +++ b/bin/now-alias @@ -29,10 +29,10 @@ const help = () => { ${chalk.dim('Options:')} - -h, --help output usage information - -c ${chalk.bold.underline('FILE')}, --config=${chalk.bold.underline('FILE')} config file - -d, --debug debug mode [off] - -t ${chalk.bold.underline('TOKEN')}, --token=${chalk.bold.underline('TOKEN')} login token + -h, --help Output usage information + -c ${chalk.bold.underline('FILE')}, --config=${chalk.bold.underline('FILE')} Config file + -d, --debug Debug mode [off] + -t ${chalk.bold.underline('TOKEN')}, --token=${chalk.bold.underline('TOKEN')} Login token ${chalk.dim('Examples:')} @@ -272,5 +272,3 @@ function findAlias (alias, list) { return _alias; } - - diff --git a/bin/now-certs b/bin/now-certs index 7560f16..2126ed0 100755 --- a/bin/now-certs +++ b/bin/now-certs @@ -33,12 +33,12 @@ const help = () => { ${chalk.dim('Options:')} - -h, --help output usage information - -c ${chalk.bold.underline('FILE')}, --config=${chalk.bold.underline('FILE')} config file - -d, --debug debug mode [off] - -t ${chalk.bold.underline('TOKEN')}, --token=${chalk.bold.underline('TOKEN')} login token - --crt ${chalk.bold.underline('FILE')} certificate file - --key ${chalk.bold.underline('FILE')} certificate key file + -h, --help Output usage information + -c ${chalk.bold.underline('FILE')}, --config=${chalk.bold.underline('FILE')} Config file + -d, --debug Debug mode [off] + -t ${chalk.bold.underline('TOKEN')}, --token=${chalk.bold.underline('TOKEN')} Login token + --crt ${chalk.bold.underline('FILE')} Certificate file + --key ${chalk.bold.underline('FILE')} Certificate key file --ca ${chalk.bold.underline('FILE')} CA certificate chain file ${chalk.dim('Examples:')} diff --git a/bin/now-deploy b/bin/now-deploy index 3f0135f..ff7cce0 100755 --- a/bin/now-deploy +++ b/bin/now-deploy @@ -41,30 +41,30 @@ const help = () => { ${chalk.dim('Commands:')} - deploy [path] performs a deployment ${chalk.bold('(default)')} - ls | list [app] list deployments - rm | remove [id] remove a deployment - ln | alias [id] [url] configures aliases for deployments - domains [name] manages your domain names - certs [cmd] manages your SSL certificates - secrets [name] manages your secret environment variables - help [cmd] displays complete help for [cmd] + deploy [path] Performs a deployment ${chalk.bold('(default)')} + ls | list [app] List deployments + rm | remove [id] Remove a deployment + ln | alias [id] [url] Configures aliases for deployments + domains [name] Manages your domain names + certs [cmd] Manages your SSL certificates + secrets [name] Manages your secret environment variables + help [cmd] Displays complete help for [cmd] ${chalk.dim('Options:')} - -h, --help output usage information - -v, --version output the version number - -c ${chalk.underline('FILE')}, --config=${chalk.underline('FILE')} config file - -d, --debug debug mode [off] - -f, --force force a new deployment even if nothing has changed - -t ${chalk.underline('TOKEN')}, --token=${chalk.underline('TOKEN')} login token - -L, --login configure login - -p, --public deployment is public (${chalk.dim('`/_src`')} is exposed) [on for oss, off for premium] - -e, --env include an env var (e.g.: ${chalk.dim('`-e KEY=value`')}). Can appear many times. - -C, --no-clipboard do not attempt to copy URL to clipboard - -N, --forward-npm forward login information to install private NPM modules - --npm force npm deployment (when both package.json and Dockerfile exist) - --docker force docker deployment (when both package.json and Dockerfile exist) + -h, --help Output usage information + -v, --version Output the version number + -c ${chalk.underline('FILE')}, --config=${chalk.underline('FILE')} Config file + -d, --debug Debug mode [off] + -f, --force Force a new deployment even if nothing has changed + -t ${chalk.underline('TOKEN')}, --token=${chalk.underline('TOKEN')} Login token + -L, --login Configure login + -p, --public Deployment is public (${chalk.dim('`/_src`')} is exposed) [on for oss, off for premium] + -e, --env Include an env var (e.g.: ${chalk.dim('`-e KEY=value`')}). Can appear many times. + -C, --no-clipboard Do not attempt to copy URL to clipboard + -N, --forward-npm Forward login information to install private NPM modules + --npm Force npm deployment (when both package.json and Dockerfile exist) + --docker Force docker deployment (when both package.json and Dockerfile exist) ${chalk.dim('Examples:')} diff --git a/bin/now-domains b/bin/now-domains index 8ef75a0..8d13512 100755 --- a/bin/now-domains +++ b/bin/now-domains @@ -29,10 +29,10 @@ const help = () => { ${chalk.dim('Options:')} - -h, --help output usage information - -c ${chalk.bold.underline('FILE')}, --config=${chalk.bold.underline('FILE')} config file - -d, --debug debug mode [off] - -t ${chalk.bold.underline('TOKEN')}, --token=${chalk.bold.underline('TOKEN')} login token + -h, --help Output usage information + -c ${chalk.bold.underline('FILE')}, --config=${chalk.bold.underline('FILE')} Config file + -d, --debug Debug mode [off] + -t ${chalk.bold.underline('TOKEN')}, --token=${chalk.bold.underline('TOKEN')} Login token ${chalk.dim('Examples:')} diff --git a/bin/now-list b/bin/now-list index 8fdca69..481e8dc 100755 --- a/bin/now-list +++ b/bin/now-list @@ -28,10 +28,10 @@ const help = () => { ${chalk.dim('Options:')} - -h, --help output usage information - -c ${chalk.bold.underline('FILE')}, --config=${chalk.bold.underline('FILE')} config file - -d, --debug debug mode [off] - -t ${chalk.bold.underline('TOKEN')}, --token=${chalk.bold.underline('TOKEN')} login token + -h, --help Output usage information + -c ${chalk.bold.underline('FILE')}, --config=${chalk.bold.underline('FILE')} Config file + -d, --debug Debug mode [off] + -t ${chalk.bold.underline('TOKEN')}, --token=${chalk.bold.underline('TOKEN')} Login token ${chalk.dim('Examples:')} diff --git a/bin/now-remove b/bin/now-remove index d776d2f..f0eb9d7 100755 --- a/bin/now-remove +++ b/bin/now-remove @@ -29,10 +29,10 @@ const help = () => { ${chalk.dim('Options:')} - -h, --help output usage information - -c ${chalk.bold.underline('FILE')}, --config=${chalk.bold.underline('FILE')} config file - -d, --debug debug mode [off] - -t ${chalk.bold.underline('TOKEN')}, --token=${chalk.bold.underline('TOKEN')} login token + -h, --help Output usage information + -c ${chalk.bold.underline('FILE')}, --config=${chalk.bold.underline('FILE')} Config file + -d, --debug Debug mode [off] + -t ${chalk.bold.underline('TOKEN')}, --token=${chalk.bold.underline('TOKEN')} Login token ${chalk.dim('Examples:')} diff --git a/bin/now-secrets b/bin/now-secrets index 4a5a622..73b7c1f 100755 --- a/bin/now-secrets +++ b/bin/now-secrets @@ -29,11 +29,11 @@ const help = () => { ${chalk.dim('Options:')} - -h, --help output usage information - -b, --base64 treat value as base64-encoded - -c ${chalk.bold.underline('FILE')}, --config=${chalk.bold.underline('FILE')} config file - -d, --debug debug mode [off] - -t ${chalk.bold.underline('TOKEN')}, --token=${chalk.bold.underline('TOKEN')} login token + -h, --help Output usage information + -b, --base64 Treat value as base64-encoded + -c ${chalk.bold.underline('FILE')}, --config=${chalk.bold.underline('FILE')} Config file + -d, --debug Debug mode [off] + -t ${chalk.bold.underline('TOKEN')}, --token=${chalk.bold.underline('TOKEN')} Login token ${chalk.dim('Examples:')}