]>
git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/ArgeoCli.java
1 package org
.argeo
.slc
.runtime
;
3 import org
.apache
.commons
.cli
.Option
;
4 import org
.argeo
.slc
.cli
.CommandsCli
;
5 import org
.argeo
.slc
.cli
.fs
.FsCommands
;
6 import org
.argeo
.slc
.cli
.posix
.PosixCommands
;
8 /** Argeo command line tools. */
9 public class ArgeoCli
extends CommandsCli
{
11 public ArgeoCli(String commandName
) {
14 options
.addOption(Option
.builder("v").hasArg().argName("verbose").desc("verbosity").build());
16 Option
.builder("D").hasArgs().argName("property=value").desc("use value for given property").build());
18 addCommandsCli(new PosixCommands("posix"));
19 addCommandsCli(new FsCommands("fs"));
20 // addCommandsCli(new JcrCommands("jcr"));
24 public String
getDescription() {
25 return "Argeo command line utilities";
28 public static void main(String
[] args
) {
29 mainImpl(new ArgeoCli("argeo"), args
);