The argparse4j is a command line argument parser library for Java based on Python's argparse.

Features

  • Customizable option prefix characters, e.g. '--foo', '+f' and '/h'.
  • Supported positional arguments and optional arguments.
  • Variable number of arguments.
  • Generates well formatted line-wrapped help message.
  • Takes into account East Asian Width ambiguous characters when line-wrap.
  • Sub-commands like, git add.
  • 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
  • Print candidates for unrecognized flags/commands.

Project Activity

See All Activity >

License

MIT License

Follow argparse4j

argparse4j Web Site

You Might Also Like
Run applications fast and securely in a fully managed environment Icon
Run applications fast and securely in a fully managed environment

Cloud Run is a fully-managed compute platform that lets you run your code in a container directly on top of Google's scalable infrastructure.

Run frontend and backend services, batch jobs, deploy websites and applications, and queue processing workloads without the need to manage infrastructure.
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
2
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 4 / 5

User Reviews

There are no 3 star reviews.

Additional Project Details

Intended Audience

Developers

Programming Language

Java

Related Categories

Java Terminal Emulators, Java Libraries

Registered

2011-11-23