Skip to content

Commit

Permalink
fix(cli): change magenta to cyan in cli help text (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
eysi09 committed Oct 28, 2018
1 parent 42e52c9 commit 1580d1b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions garden-service/src/cli/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ ${chalk.bold(str.slice(0, 5).toUpperCase())}
${chalk.italic(str.slice(7))}`
),
usageCommandPlaceholder: str => chalk.blue(str),
usagePositionals: str => chalk.magenta(str),
usageArgsPlaceholder: str => chalk.magenta(str),
usagePositionals: str => chalk.cyan(str),
usageArgsPlaceholder: str => chalk.cyan(str),
usageOptionsPlaceholder: str => chalk.yellow(str),
group: (str: string) => {
const cleaned = str.endsWith(":") ? str.slice(0, -1) : str
return chalk.bold(cleaned.toUpperCase())
},
flags: (str, _type) => {
const style = str.startsWith("-") ? chalk.green : chalk.magenta
const style = str.startsWith("-") ? chalk.green : chalk.cyan
return style(str)
},
hints: str => chalk.gray(str),
Expand Down

0 comments on commit 1580d1b

Please sign in to comment.