alecthomas / alecthomas/kong

String type support for `filecontent`

未關閉
#482 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Go
星號
3.2k
分支
188
平均合併
1 天 1 小時
30 天內合併 PR
2

描述

Currently `filecontent` requires a field to be `[]byte`. I would propose that it also allows `string` field in which case file contents is simply converted with `string(...)` in Go. It allows one to signal that the flag expects a textual file as input.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。