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

Yeni80

alecthomas · Terminal & Komut Satırı

YILDIZ3.6K
ÇATAL281
COMMIT0
KATKICI0
SÜRÜMv2.4.0
GÜNCELLEME10 gün önce
cliKomut SatırıgokingpinMIT
Ne yapar?
  • 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.
Kullanıcı yorumları
  • • NötrGitHub 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…”

  • • NötrGitHub 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

README ile doğrulandı · 28 Eki 2026 · kaynak

Notum

Aynı kategoride: Terminal & Komut Satırı