Hacker GitHub

← All repos

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

Mentions per year 6 mentions · busiest year 2019 (2)
20082026
  1. …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
  2. …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
  3. …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…
  4. ▲ 2
    Parse command line argument by defining a struct
    story by ducaale · 2019-08-10 · 0 comments
  5. Personally, I like Rust's a bit better: https://github.com/TeXitoi/structopt edit: because it's type safe!
  6. …from an annotated struct, which is a very, very nice experience for making command line tools. [0] https://github.com/TeXitoi/structopt