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?

贡献者指南