mre/freq

Output formatting

開放

#10 建立於 2021年3月15日

 (0 則留言) (0 個反應) (0 位負責人)Rust (2 個分叉)github user discovery
good first issuehelp wanted

倉庫指標

星標
 (3 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

How about we add support for a custom output format? I envision that we define a couple of constants and users can choose the ones they want in a format string, e.g.

--format "{{freq_count}} {{ freq_word }}"

We could use tera for templating. Any thoughts?

貢獻者指南