Browse Source

Improved usage information for `now switch` (#668)

* updated help message for `now switch` to reference the argument for the team as the slug instead of the id

* Improved message

* Prettified
master
David Corwin 8 years ago
committed by Leo Lamprecht
parent
commit
27319e34b4
  1. 7
      bin/now-teams.js

7
bin/now-teams.js

@ -52,9 +52,12 @@ const help = () => {
${chalk.gray('–')} Switch to a team:
${chalk.cyan(`$ now switch <id>`)}
${chalk.cyan(`$ now switch <slug>`)}
${chalk.gray('–')} If the id is omitted, you can choose interactively
${chalk.gray(
'–'
)} If your team's url is 'zeit.co/teams/name', 'name' is the slug
${chalk.gray('–')} If the slug is omitted, you can choose interactively
${chalk.yellow(
'NOTE:'

Loading…
Cancel
Save