Browse Source

Capitalize command descriptions

master
Leo Lamprecht 8 years ago
parent
commit
66711afaeb
No known key found for this signature in database GPG Key ID: EF804E3FF4BBA8AB
  1. 10
      bin/now-alias
  2. 12
      bin/now-certs
  3. 42
      bin/now-deploy
  4. 8
      bin/now-domains
  5. 8
      bin/now-list
  6. 8
      bin/now-remove
  7. 10
      bin/now-secrets

10
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;
}

12
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:')}

42
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:')}

8
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:')}

8
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:')}

8
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:')}

10
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:')}

Loading…
Cancel
Save