From 61e1890fdb8415ece45a1c98e2e700fc906e42df Mon Sep 17 00:00:00 2001 From: Thomas Francart Date: Mon, 21 Oct 2024 19:47:45 +0200 Subject: [PATCH] order commands alphabetically --- .../java/fr/sparna/rdf/shacl/app/Main.java | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/shacl-play-app/src/main/java/fr/sparna/rdf/shacl/app/Main.java b/shacl-play-app/src/main/java/fr/sparna/rdf/shacl/app/Main.java index 19f799fe..dc53cd08 100644 --- a/shacl-play-app/src/main/java/fr/sparna/rdf/shacl/app/Main.java +++ b/shacl-play-app/src/main/java/fr/sparna/rdf/shacl/app/Main.java @@ -32,19 +32,20 @@ public class Main { enum COMMAND { - - REPORT(new ArgumentsGenerateReport(), new GenerateReport()), + + ANALYZE(new ArgumentsAnalyze(), new Analyze()), + DOC(new ArgumentsDoc(), new Doc()), + DRAW(new ArgumentsDraw(), new Draw()), + FILTER(new ArgumentsFilter(), new Filter()), + GENERATECONTEXT(new ArgumentsGenerateContext(), new GenerateContext()), + GENERATE(new ArgumentsGenerate(), new Generate()), INFER(new ArgumentsInfer(), new Infer()), OWL2SHACL(new ArgumentsOwl2Shacl(), new Owl2Shacl()), - DRAW(new ArgumentsDraw(), new Draw()), - DOC(new ArgumentsDoc(), new Doc()), + REPORT(new ArgumentsGenerateReport(), new GenerateReport()), SHACL2SPARQL(new ArgumentsShacl2Sparql(), new Shacl2Sparql()), SPARQLBATCH(new ArgumentsSparqlBatch(), new SparqlBatch()), - GENERATECONTEXT(new ArgumentsGenerateContext(), new GenerateContext()), - GENERATE(new ArgumentsGenerate(), new Generate()), - VALIDATE(new ArgumentsValidate(), new Validate()), - ANALYZE(new ArgumentsAnalyze(), new Analyze()), - FILTER(new ArgumentsFilter(), new Filter()); + VALIDATE(new ArgumentsValidate(), new Validate()); + private CliCommandIfc command; private Object arguments;