[DEV] start integrate death

This commit is contained in:
Edouard DUPIN 2021-06-15 07:42:21 +02:00
parent 3619f28313
commit 85fb5f5c81
3 changed files with 13 additions and 6 deletions

View File

@ -20,5 +20,10 @@
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry combineaccessrules="false" kind="src" path="/atriasoft-death">
<attributes>
<attribute name="module" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="out/eclipse/classes"/>
</classpath>

View File

@ -9,4 +9,5 @@ open module org.atriasoft.island {
requires transitive io.scenarium.logger;
requires java.base;
requires org.atriasoft.death;
}

View File

@ -1,14 +1,15 @@
package org.atriasoft.island;
import org.atriasoft.death.Arguments;
public class MainIsland {
//debug.verbose("List of actions: " + str(actions.get_list_of_action()))
my_args = arguments.Arguments()
my_args.add_section("option", "Can be set one time in all case")
my_args.add("h", "help", desc="Display this help")
my_args.add("v", "verbose", list=[
static {
Arguments my_args = new Arguments();
my_args.addSection("option", "Can be set one time in all case");
my_args.add("h", "help", null, "Display this help");
my_args.add("v", "verbose", {
["0","None"],
["1","error"],
["2","warning"],
@ -16,7 +17,7 @@ my_args.add("v", "verbose", list=[
["4","debug"],
["5","verbose"],
["6","extreme_verbose"],
], desc="display debug level (verbose) default =2")
}, desc="display debug level (verbose) default =2")
my_args.add("c", "color", desc="Display message in color")
my_args.add("n", "no-fetch-manifest", haveParam=false, desc="Disable the fetch of the manifest")
my_args.add("F", "filter", haveParam=true, desc="Filter the action on a list of path or subpath: -f library")