Skip to content

Commit

Permalink
Merge pull request #346 from garden-io/fix-windows-colors
Browse files Browse the repository at this point in the history
fix(cli): change magenta to cyan in cli help text (#281)
  • Loading branch information
edvald committed Oct 28, 2018
2 parents 42e52c9 + 1580d1b commit a583eb1
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 a583eb1

Please sign in to comment.