Improved the cli print details, add color to total duration.
Improved progress dot print, avoid immediate print for improved performance.
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