huacnlee / autocorrect

A linter and formatter to help you to improve copywriting, correct spaces, words, and punctuations between CJK (Chinese, Japanese, Korean).
https://huacnlee.github.io/autocorrect
MIT License
894 stars 31 forks source link

Add `--quiet` argument for cli #187. #188

Closed huacnlee closed 4 months ago

huacnlee commented 4 months ago
A linter and formatter for help you improve copywriting, to correct spaces, words, punctuations between CJK (Chinese, Japanese, Korean).

Usage: autocorrect [OPTIONS] [FILE]... [COMMAND]

Commands:
  init    Initialize AutoCorrect config file.
  update  Update AutoCorrect to latest version.
  help    Print this message or the help of the given subcommand(s)

Arguments:
  [FILE]...  Target filepath or dir for format. [default: .]

Options:
      --lint               Lint and output problems.
      --fix                Automatically fix problems and rewrite file.
      --debug              Print debug information.
  -q, --quiet              Do not print progress information.
      --format <FORMAT>    Output format. [default: diff] [possible values: diff, json, rdjson]
      --threads <THREADS>  Number of threads, 0 - use number of CPU. [default: 0]
  -c, --config <CONFIG>    Special config file. [default: .autocorrectrc]
      --type <FILETYPE>    Directly use set file type.
      --stdin              Input text from <STDIN>
      --no-diff-bg-color   Disable diff background color for diff output.
  -h, --help               Print help
  -V, --version            Print version