RustのCLIパーサー、clapが好きだけど構造体にマップしたいケースもあるしそういうときは構造体からパーサ作ってくれるやつ(名前忘れた)の方がいい気がしてきた
-
-
docoptはドキュメントからパーサ生成するクレートでした… 構造体からcustom derive使うのはおそらくstructoptだったと思います
-
structoptでした。
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.