maplibre/martin

Use indicatif or prodash crates for CLI status reporting

Aperta

#1024 aperta il 25 nov 2023

 (2 commenti) (0 reazioni) (0 assegnatari)Rust (377 fork)auto 404
cligood first issuehelp wantedrust

Metriche repository

Star
 (3761 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

I think we should switch our output formatting to either indicatif crate or prodash. indicatif supports progress bars and number formatting, so we could probably remove the size_format dependency. prodash seem to support logging better?

We will probably need a single status bar, as we don't have well defined parallelization.

  • martin-cp while generating tiles - this is the most important target
  • mbtiles copy - not certain if this is possible to track the progress of a single SQLite INSERT INTO ... sql statement.

Indicatif Demo

demo

Prodash Demo

asciicast

Guida contributor