Skip to content

Commit 3b4aa95

Browse files
committed
cli: update unified-args
1 parent ab485ef commit 3b4aa95

File tree

2 files changed

+25
-24
lines changed

2 files changed

+25
-24
lines changed

packages/rehype-cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"dependencies": {
1414
"rehype": "^9.0.0",
15-
"unified-args": "^7.0.0"
15+
"unified-args": "^8.0.0"
1616
},
1717
"repository": "https://github.com/rehypejs/rehype/tree/master/packages/rehype-cli",
1818
"bugs": "https://github.com/rehypejs/rehype/issues",

test/cli.js

+24-23
Original file line numberDiff line numberDiff line change
@@ -25,29 +25,30 @@ test('rehype-cli', function (t) {
2525
'',
2626
'Options:',
2727
'',
28-
' -h --help output usage information',
29-
' -v --version output version number',
30-
' -o --output [path] specify output location',
31-
' -r --rc-path <path> specify configuration file',
32-
' -i --ignore-path <path> specify ignore file',
33-
' -s --setting <settings> specify settings',
34-
' -e --ext <extensions> specify extensions',
35-
' -u --use <plugins> use plugins',
36-
' -w --watch watch for changes and reprocess',
37-
' -q --quiet output only warnings and errors',
38-
' -S --silent output only errors',
39-
' -f --frail exit with 1 on warnings',
40-
' -t --tree specify input and output as syntax tree',
41-
' --report <reporter> specify reporter',
42-
' --file-path <path> specify path to process as',
43-
' --ignore-pattern <globs> specify ignore patterns',
44-
' --tree-in specify input as syntax tree',
45-
' --tree-out output syntax tree',
46-
' --inspect output formatted syntax tree',
47-
' --[no-]stdout specify writing to stdout (on by default)',
48-
' --[no-]color specify color in report (on by default)',
49-
' --[no-]config search for configuration files (on by default)',
50-
' --[no-]ignore search for ignore files (on by default)',
28+
' -h --help output usage information',
29+
' -v --version output version number',
30+
' -o --output [path] specify output location',
31+
' -r --rc-path <path> specify configuration file',
32+
' -i --ignore-path <path> specify ignore file',
33+
' -s --setting <settings> specify settings',
34+
' -e --ext <extensions> specify extensions',
35+
' -u --use <plugins> use plugins',
36+
' -w --watch watch for changes and reprocess',
37+
' -q --quiet output only warnings and errors',
38+
' -S --silent output only errors',
39+
' -f --frail exit with 1 on warnings',
40+
' -t --tree specify input and output as syntax tree',
41+
' --report <reporter> specify reporter',
42+
' --file-path <path> specify path to process as',
43+
' --ignore-path-resolve-from dir|cwd resolve patterns in `ignore-path` from its directory or cwd',
44+
' --ignore-pattern <globs> specify ignore patterns',
45+
' --tree-in specify input as syntax tree',
46+
' --tree-out output syntax tree',
47+
' --inspect output formatted syntax tree',
48+
' --[no-]stdout specify writing to stdout (on by default)',
49+
' --[no-]color specify color in report (on by default)',
50+
' --[no-]config search for configuration files (on by default)',
51+
' --[no-]ignore search for ignore files (on by default)',
5152
'',
5253
'Examples:',
5354
'',

0 commit comments

Comments
 (0)