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 合并指标
 (平均合并 2天 16小时) (30 天内合并 78 个 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

贡献者指南