Get the default progress bar style. Format: `[████████░░░░░░░░] 50/100 Message (50%)`
()
| 300 | /// |
| 301 | /// Format: `[████████░░░░░░░░] 50/100 Message (50%)` |
| 302 | fn progress_style() -> ProgressStyle { |
| 303 | ProgressStyle::with_template( |
| 304 | "{spinner:.cyan} [{bar:30.cyan/dim}] {pos}/{len} {msg} ({percent}%)", |
| 305 | ) |
| 306 | .expect("Invalid progress template") |
| 307 | .tick_chars(SPINNER_CHARS) |
| 308 | .progress_chars("█▓░") |
| 309 | } |
| 310 | |
| 311 | /// Get the success completion style. |
| 312 | /// |
no outgoing calls