Skip to content

Inversion of Control for command line in Java. Mapping arguments to object methods. Driven by annotations and naming conventions.

License

Notifications You must be signed in to change notification settings

ushkinaz/command-me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

There are quite a lot of command line (cli) parsing libraries. While they do their job well, I found that none of them is easy and straightforward to use. While working on my projects I dreamed of a library with which I could do the following:

public class Invitor {

    @Option
    public void setName(String name){

    }

    @Option
    public void setMoney(int amount){

    }

    @Action
    public void invite(){

    }
}

And then I simply call from command line

java Invitor --name "John Smith" --money 5000 invite

and then magic happens.

About

Inversion of Control for command line in Java. Mapping arguments to object methods. Driven by annotations and naming conventions.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages