maplibre/martin

Use indicatif or prodash crates for CLI status reporting

開放

#1,024 建立於 2023年11月25日

 (2 則留言) (0 個反應) (0 位負責人)Rust (377 個分叉)auto 404
cligood first issuehelp wantedrust

倉庫指標

星標
 (3,761 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南