java.lang.Object
io.jooby.cli.Cmd
io.jooby.cli.Cli
- All Implemented Interfaces:
Runnable
Application console.
Usage:
jooby> --help
Usage: jooby [-hV] [COMMAND]
-h, --help Show this help message and exit.
-V, --version Print version information and exit.
Commands:
create Creates a new application
exit Exit console
- Since:
- 2.0.6
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidStart a jooby console or execute given arguments and exits.voidrun(CliContext ctx) Run a command.Methods inherited from class io.jooby.cli.Cmd
run, setContext
-
Field Details
-
gson
public static final com.google.gson.Gson gsonJSON parser.
-
-
Constructor Details
-
Cli
public Cli()
-
-
Method Details
-
run
Description copied from class:CmdRun a command. -
main
Start a jooby console or execute given arguments and exits.- Parameters:
args- Command line arguments.- Throws:
IOException- If something goes wrong.
-