TeXitoi/structopt
View on GitHub ↗ ★ 2,723 Rust
Parse command line arguments by defining a struct.
6 mentions on Hacker News by 6 people: 1 story, 5 comments · first 2018-03-16 · latest 2021-01-25
20082026
-
…it trivial to produce nice usage output etc. [0] https://doc.rust-lang.org/std/env/fn.args.html [1] https://github.com/TeXitoi/structopt
comment by DougBTX · 2021-01-25 · in Show HN: Rust-starter, a boilerplate to build Rust CLI applications -
…but no one has mentioned it yet... In my opinion, it is _the_ way to quickly create a quality CLI. https://github.com/TeXitoi/structopt
comment by bschwindHN · 2020-08-17 · in Show HN: Structopt for C++ – Parse command line arguments by defining a struct -
…IMO python doesn't have anything as nice as Rust's structopt library for argument parsing ( https://github.com/TeXitoi/structopt ). Python does have package management, but it's a pain to use compared to Rust or JavaScript (have to setup…
comment by nicoburns · 2020-04-01 · in Show HN: Xcnotary – a Mac app notarization helper made with Rust -
Personally, I like Rust's a bit better: https://github.com/TeXitoi/structopt edit: because it's type safe!
comment by leshow · 2019-03-20 · in Docli – A declarative language for command-line interfaces in Go -
…from an annotated struct, which is a very, very nice experience for making command line tools. [0] https://github.com/TeXitoi/structopt
comment by Arcsech · 2018-03-16 · in Google Cloud Platform’s new interactive CLI