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 6543d08 commit f9f84fc
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 24 deletions.
2 changes: 1 addition & 1 deletion packages/remark-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"dependencies": {
"markdown-extensions": "^1.1.0",
"remark": "^11.0.0",
"unified-args": "^7.0.0"
"unified-args": "^8.0.0"
},
"scripts": {
"test": "tape test.js"
Expand Down
47 changes: 24 additions & 23 deletions packages/remark-cli/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,30 @@ test('remark-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 f9f84fc

Please sign in to comment.