Skip to content

Commit

Permalink
cli: update unified-args
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Mar 30, 2020
1 parent ab485ef commit 3b4aa95
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
2 changes: 1 addition & 1 deletion packages/rehype-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"dependencies": {
"rehype": "^9.0.0",
"unified-args": "^7.0.0"
"unified-args": "^8.0.0"
},
"repository": "https://github.com/rehypejs/rehype/tree/master/packages/rehype-cli",
"bugs": "https://github.com/rehypejs/rehype/issues",
Expand Down
47 changes: 24 additions & 23 deletions test/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,29 +25,30 @@ test('rehype-cli', function (t) {
'',
'Options:',
'',
' -h --help output usage information',
' -v --version output version number',
' -o --output [path] specify output location',
' -r --rc-path <path> specify configuration file',
' -i --ignore-path <path> specify ignore file',
' -s --setting <settings> specify settings',
' -e --ext <extensions> specify extensions',
' -u --use <plugins> use plugins',
' -w --watch watch for changes and reprocess',
' -q --quiet output only warnings and errors',
' -S --silent output only errors',
' -f --frail exit with 1 on warnings',
' -t --tree specify input and output as syntax tree',
' --report <reporter> specify reporter',
' --file-path <path> specify path to process as',
' --ignore-pattern <globs> specify ignore patterns',
' --tree-in specify input as syntax tree',
' --tree-out output syntax tree',
' --inspect output formatted syntax tree',
' --[no-]stdout specify writing to stdout (on by default)',
' --[no-]color specify color in report (on by default)',
' --[no-]config search for configuration files (on by default)',
' --[no-]ignore search for ignore files (on by default)',
' -h --help output usage information',
' -v --version output version number',
' -o --output [path] specify output location',
' -r --rc-path <path> specify configuration file',
' -i --ignore-path <path> specify ignore file',
' -s --setting <settings> specify settings',
' -e --ext <extensions> specify extensions',
' -u --use <plugins> use plugins',
' -w --watch watch for changes and reprocess',
' -q --quiet output only warnings and errors',
' -S --silent output only errors',
' -f --frail exit with 1 on warnings',
' -t --tree specify input and output as syntax tree',
' --report <reporter> specify reporter',
' --file-path <path> specify path to process as',
' --ignore-path-resolve-from dir|cwd resolve patterns in `ignore-path` from its directory or cwd',
' --ignore-pattern <globs> specify ignore patterns',
' --tree-in specify input as syntax tree',
' --tree-out output syntax tree',
' --inspect output formatted syntax tree',
' --[no-]stdout specify writing to stdout (on by default)',
' --[no-]color specify color in report (on by default)',
' --[no-]config search for configuration files (on by default)',
' --[no-]ignore search for ignore files (on by default)',
'',
'Examples:',
'',
Expand Down

0 comments on commit 3b4aa95

Please sign in to comment.