]> git.argeo.org Git - lgpl/argeo-commons.git/blob - PosixCommands.java
97824299c7537ecc2112b1029a6e4140d38b0e98
[lgpl/argeo-commons.git] / PosixCommands.java
1 package org.argeo.cms.cli.posix;
2
3 import org.argeo.api.cli.CommandsCli;
4
5 /** POSIX commands. */
6 public class PosixCommands extends CommandsCli {
7
8 public PosixCommands(String commandName) {
9 super(commandName);
10 addCommand("echo", new Echo());
11 }
12
13 @Override
14 public String getDescription() {
15 return "Reimplementation of some POSIX commands in plain Java";
16 }
17
18 public static void main(String[] args) {
19 mainImpl(new PosixCommands("argeo-posix"), args);
20 }
21 }