argparse4j 0.4.1 Beta

Command line argument parser library for Java
argparse4j is a free, open source, command line argument parser library based on Python's argparse.

argparse4j is developed in the Java programming language and can be run on Mac OS X, Windows and Linux.

Main features:

  • 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.

last updated on:
July 13th, 2013, 21:18 GMT
file size:
64 KB
price:
FREE!
developed by:
tujikawa
license type:
MIT License 
operating system(s):
Mac OS X
binary format:
-
category:
Home \ Development \ Libraries

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

What's New in This Release:
  • Throw "invalid choice" error when matching empty string for subcommand
  • Added method to verify that a file argument can be created.
read full changelog

Add your review!

SUBMIT