Skip to content

Commit 3439d21

Browse files
committed
📦 NEW: CLI Help formatting
1 parent a52451f commit 3439d21

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

utils/cli.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ module.exports = meow(
1111
${cyan(`states`)} Get data for all USA states
1212
1313
Options
14-
${yellow(`--sort`)}, ${yellow(`-s`)} Sort data by type
15-
${yellow(`--reverse`)}, ${yellow(`-r`)} Reverse print order
16-
${yellow(`--limit`)}, ${yellow(`-l`)} Print only N entries
17-
${yellow(`--bar`)}, ${yellow(`-b`)} Print stats in bar charts
18-
${yellow(`--chart`)}, ${yellow(`-c`)} Print chart for a country
19-
${yellow(`--log`)}, ${yellow(`-g`)} Print logarithmic chart
20-
${yellow(`--xcolor`)}, ${yellow(`-x`)} Single colored output
21-
${yellow(`--minimal`)}, ${yellow(`-m`)} Minimalistic CLI output
22-
${yellow(`--json`)}, ${yellow(`-j`)} Output JSON only data
14+
${yellow(`-s`)}, ${yellow(`--sort`)} Sort data by type
15+
${yellow(`-r`)}, ${yellow(`--reverse`)} Reverse print order
16+
${yellow(`-l`)}, ${yellow(`--limit`)} Print only N entries
17+
${yellow(`-b`)}, ${yellow(`--bar`)} Print stats in bar charts
18+
${yellow(`-c`)}, ${yellow(`--chart`)} Print chart for a country
19+
${yellow(`-g`)}, ${yellow(`--log`)} Print logarithmic chart
20+
${yellow(`-x`)}, ${yellow(`--xcolor`)} Single colored output
21+
${yellow(`-m`)}, ${yellow(`--minimal`)} Minimalistic CLI output
22+
${yellow(`-j`)}, ${yellow(`--json`)} Output JSON only data
2323
2424
Examples
2525
${green(`corona`)} ${cyan(`china`)}

0 commit comments

Comments
 (0)