please add subcommand to determine lock state
未关闭
- 主要语言
- C++
- 星标
- 9.9k
- 派生
- 544
- PR 合并指标
- 30 天内没有已合并 PR
描述
I find that I'm wondering, "is my git-crypt repository locked, or unlocked?"
Sometimes, I cannot remember. Then have to go poking in files to see...
unless there is some easier way I missed?
Suggest a command, perhaps `git-crypt lockstate` that tells the user
whether it's locked. Give this a 'quiet' flag to have no output (maybe
in this case, name it `git-crypt islocked` and have zero be 'yes').
A [maybe better] alternative would be adding this information to
`status` output (although `status` is more parsable as-is, one file per line)
or giving it an option (maybe `-l` or `-k`) to determine the locked state
(which could then be combined with quiet flag from #68 for no output).
贡献指南
评估
这个 Issue 还没有评估数据。