bbkane/warg
View on GitHub ↗ ★ 56 Go
Declarative CLI framework
12 mentions on Hacker News by 1 person: 0 stories, 12 comments · first 2022-05-07 · latest 2026-04-26
20082026
-
…a "blog" explaining WHY I made the changes and that's really been fun to look back and read too 0: https://github.com/bbkane/warg/blob/master/CHANGELOG.md
comment by bbkane · 2026-04-26 · in Using coding assistance tools to revive projects you never were going to finish -
…(I already have tab completion for shells, why not make an editor plugin if it's this easy ..) 0: https://github.com/bbkane/warg
comment by bbkane · 2026-03-29 · in Show HN: Create a full language server in Go with 3.17 spec support -
I was doing this and used it for a year in https://github.com/bbkane/warg/ , but ripped it out since Go auto-casts underlying types to derived types in function calls: Type userID int64 func Work(u userID) {...} Work(1) // Go accepts this…
comment by bbkane · 2025-07-24 · in Use Your Type System -
…I've wanted to do TUI form generation for my own CLI framework since 2023 ( https://github.com/bbkane/warg/issues/71 ), but I still haven't gotten around to it
comment by bbkane · 2025-06-19 · in Fang, the CLI Starter Kit -
I'm adding zsh shell completion to my CLI framework ( https://github.com/bbkane/warg/tree/bbkane/the-flattening-2-... )! I'm writing bigger CLIs with it now and I want to tab through their subcommands and flags, as well as allow…
comment by bbkane · 2025-03-31 · in Ask HN: What are you working on? (March 2025) -
…to allow users to fill CLI flags from config files, and it'll replace my crappy homegrown version ( https://github.com/bbkane/warg/blob/740663eeeb5e87c9225fb627... )
comment by bbkane · 2025-03-28 · in Xee: A Modern XPath and XSLT Engine in Rust -
…as everything works exactly the way I expect (and if it doesn't I change the library). Code at https://github.com/bbkane/warg if you want to compare it to your library :)
comment by bbkane · 2024-10-06 · in Pantheon: Parsing command line arguments -
…verbose than I'd like, but it's quite useful for figuring out how a flag got its current value [0] https://github.com/bbkane/warg [1] https://github.com/bbkane/shovel
comment by bbkane · 2023-06-25 · in Everything that uses configuration files should report where they're located -
…tree additions and studying the HTTP interface extension to see if I can replicate the pattern for https://github.com/bbkane/warg values. Id like to be able to have value-specific output for different types of --help , even ones not in warg
comment by bbkane · 2023-01-17 · in Major standard library changes in Go 1.20 -
…uses them to declaratively build CLI apps with arbitrarily nested subcommands. Some examples at https://github.com/bbkane/warg/tree/master/examples
comment by bbkane · 2022-05-25 · in Go: Functional Options Are Slow -
…this problem, especially because my baby arrived early so my time is now much more limited :D [1] - https://github.com/bbkane/warg/
comment by bbkane · 2022-05-12 · in Charming Cobras with Bubbletea – Part 1 -
…I like this convention so much I stole it for my homemade Golang CLI parsing library https://github.com/bbkane/warg/ .
comment by bbkane · 2022-05-07 · in Unix command line conventions over time