Skip to content
Dmitry Sidorenko edited this page Jun 2, 2011 · 15 revisions

Introduction

CommandMe is simple command line parsing library. It's implementation of "dependency injection" pattern for command line. You don't need to take care of command line parsing and setting values, everything is done for you.

Most of the settings are guessed from the names of your methods. For instance, if you have method setId(int id), then you can pass integer argument in command line just like this: HelloWorld --id 634

HelloWorld

Alternatives

Closest alternative is JewelCli. There is one considerable difference: JewelCli creates an instance of object representing command line options. CommandMe creates an instance of your application, injects option values into it and then - calls one or more "action" methods.

Comprehensive list of command line parsing libraries can be found on this page: Java Cli processing libraries

Project dashboard

This project uses PivotalTracker for tracking progress and managing user stories. Dashboard

Explore further

Goal of the library

Roadmap - features and releases

CommandLineStructure - (would be) comprehensive guide