argparse4j 0.2.1 發布
argparse4j 是 Python argparse 命令行解析器的 Java 語言移植版。
- Supported positional arguments and optional arguments.
- Variable number of arguments.
- Generates well formatted line-wrapped help message.
- Suggests optional arguments/sub-command if unrecognized arguments/sub-command were given, e.g. "unrecognized argument '--tpye': Did you mean: --type".
- Takes into account East Asian Width ambiguous characters when line-wrap.
- Sub-commands like, git add.
- Customizable option prefix characters, e.g. '+f' and '/h'.
- Print default values in help message.
- Choice from given collection of values.
- Type conversion from option strings.
- Can directly assign values into user defined classes using annotation.
- Group arguments so that it will be printed in help message in more readable way.
- Read additional arguments from file.
argparse4j 0.2.1 發布,該版本修復了打印幫助信息中的一個空行問題。
本文由用戶 openkk 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!