--no-progress-bar
- Accepted by
opengrep scan- See also
--skin,--incremental-output,CI,TERM
During a scan, Opengrep draws a status line on the terminal that shows its progress, such as loading the rules or analyzing the targets. The line is erased when the scan ends and is not part of the output. The flag turns it off.
The line is drawn on standard error, and only when all of these conditions hold:
- standard error is a terminal, and
TERMis set to a value other thandumborunknown; CIis unset,falseor0;- the operating system is not Windows;
- the skin is
simpleorvivid; --incremental-outputis not given;- none of
--quiet,--verboseand--debugis given.
The output format does not matter: a scan with --json draws the line as well, since the JSON goes to standard output. opengrep ci never draws it.
Examples
A scan without the status line
Command
$ opengrep scan -q --config rule.yaml --no-progress-bar .