kingpin
Go için akıcı (fluent) tarzda, tip güvenli bir komut satırı ve bayrak ayrıştırıcısıdır. Bayrakları, iç içe alt komutları ve konumsal argümanları destekler. README'ye göre yazar artık Kingpin'i kullanmıyor (kong'a geçti); proje özellik olarak kararlı ve düzeltmeler yalnızca topluluk PR'larıyla geliyor.
alecthomas · Terminal & CLI
- Bayrakları ve konumsal argümanları tip güvenli biçimde tanımlarsın.
- İç içe alt komutlarla git benzeri komut satırı araçları kurabilirsin.
- Go şablonlarıyla yardım çıktısını tamamen özelleştirirsin.
- • NeutralGitHub Issue
Features for v3
“This issue is to track feature implementation for v3. I'm mostly happy with the core functionality in v2, but there are a few rough edges. To that end, v3 will be mostly cleanup and streamlining. - [x] Make hooks less ugly: `Action(*Context)` should be something like…”
- • NeutralGitHub Issue
Flag with optional value
“Is there already a way to have flag that can be empty, like "-p Password"? If Password is not provided from the command-line, I would like to prompt user to enter it after launching command. This avoid showing the password in user bash history.”
Verified against README · Oct 28, 2026 · source