influxdata/telegraf

CLI documentation

Open

#15,871 创建于 2024年9月11日

在 GitHub 查看
 (1 评论) (1 反应) (0 负责人)Go (4,161 fork)batch import
feature requesthelp wantedsize/m

仓库指标

Star
 (9,892 star)
PR 合并指标
 (平均合并 2天 12小时) (30 天内合并 136 个 PR)

描述

Use Case

It would be nice to have a human readable documentation about the CLI command and all possible sub-commands + options in the repository. Just like we have a README.md for every plugin.

Expected behavior

Having a readme file in cmd/telegraf/ directory which not only says to run telegraf help but also has the actual documentation of the various commands and flags.

Actual behavior

Currently one needs to download/install telegraf binary and run its help command in order to read about a certain functionality.

Additional info

Could be autogenerated by running the make docs command. The CI could then warn the contributor if the repo is dirty and need to push the updated docs.

贡献者指南