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.

KI

kingpin

New80

alecthomas · Terminal & CLI

STARS3.6K
FORKS281
COMMITS0
CONTRIBUTORS0
VERSIONv2.4.0
UPDATED10 days ago
cliCommand LinegokingpinMIT
What can it do?
  • 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.
User reviews
  • • 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.”

GitHub

Verified against README · Oct 28, 2026 · source

My note

More in: Terminal & CLI