Add output option / Grepable output
还没有人认领这个 Issue。
评估
调研方向
未指定文件、测试或入口点。首先定位 procmon 的命令行参数处理和输出生成代码,然后确定应如何表示所请求的 -o/--output 格式;完成的标准是示例能够输出可供 grep 使用的 tsv,并且列出的格式得到一致处理。
由索引模型根据 Issue 内容生成。
描述
Would be nice to be able to grep the output.
Adding a -o/--output option with different output formats (json, jsonc, none, table, tsv, yaml, yamlc) would be best.
Example:
procmon -f procmon_2020-07-23_01\:54\:51.db -o tsv | grep ssh
- 主要语言
- C
- 星标
- 4.7k
- 派生
- 295
- 平均合并
- 4 分钟
- 30 天内合并 PR
- 8
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/ProcMon-for-Linux 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
microsoft/ProcMon-for-Linux#144 ·
-
难度 5/5 一周以上 新手友好度 20/100
microsoft/ProcMon-for-Linux#135 · 3 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
microsoft/ProcMon-for-Linux#129 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
microsoft/ProcMon-for-Linux#128 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 25/100
microsoft/ProcMon-for-Linux#126 · 2 条评论 ·
查看 microsoft/ProcMon-for-Linux 的全部 Issue
相似的 Issue
-
Status: Opened
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
darktable-org/darktable#22455 · 1 条评论 ·
维护者通常 1 天内回复
-
area:ci kind:gate-defect
难度 2/5 1-3 小时 新手友好度 84/100
InauguralSystems/EigenScript#1448 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
BasedHardware/omi#20084 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
raspberrypi/pico-sdk#3225 · 1 条评论 ·
维护者通常 1 天内回复