Get the default progress bar style. Format: `[████████░░░░░░░░] 50/100 Message (50%)`
()
| 321 | /// |
| 322 | /// Format: `[████████░░░░░░░░] 50/100 Message (50%)` |
| 323 | fn progress_style() -> ProgressStyle { |
| 324 | ProgressStyle::with_template( |
| 325 | "{spinner:.cyan} [{bar:30.cyan/dim}] {pos}/{len} {msg} ({percent}%)", |
| 326 | ) |
| 327 | .expect("Invalid progress template") |
| 328 | .tick_chars(SPINNER_CHARS) |
| 329 | .progress_chars("█▓░") |
| 330 | } |
| 331 | |
| 332 | /// Get the success completion style. |
| 333 | /// |
no outgoing calls