Skip to content
This repository has been archived by the owner on Jan 28, 2025. It is now read-only.

Merge development changes to doc_development #201

Merged
merged 54 commits into from
Nov 18, 2024
Merged
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
8545824
refactor: Update JUnitTestFileGenerator to use relative path for TEST…
remiceres Jul 1, 2024
56ff189
Working SPARQL result format test for XML
MaillPierre Jul 4, 2024
c0cf633
SPARQL query format tests
MaillPierre Jul 4, 2024
9726dd9
SPARQL protocol query tests
MaillPierre Jul 5, 2024
bc7f683
fix ambiguous named graph test
MaillPierre Jul 5, 2024
d9c015b
fix: Corrected web server display issue
remiceres Jul 5, 2024
fb480e8
refactor: Update canonicalize.java to use default RDFC10SHA256 algorithm
remiceres Jul 5, 2024
e741e2f
fix queryGETHTML
remiceres Jul 5, 2024
496c6f5
Merge remote-tracking branch 'origin/development' into serverUnitTest
MaillPierre Jul 8, 2024
affc830
factoring test utilities
MaillPierre Jul 9, 2024
aa6026c
all result format tested
MaillPierre Jul 9, 2024
e175101
update tests first draft
MaillPierre Jul 9, 2024
defc82b
refactor: Add support for retrieving triples in Markdown format
remiceres Jul 9, 2024
6425335
basic graph store protocol tests and minor refactoring
MaillPierre Jul 9, 2024
a79ece9
Improve Corese-Command unit test
remiceres Jul 10, 2024
d451dae
graph store protocol tested
MaillPierre Jul 10, 2024
4d8b8b3
Minor fix
MaillPierre Jul 11, 2024
931cd8a
minor fix
MaillPierre Jul 11, 2024
eb15ca8
More exhaustive SPARQL HTTP query support tests
MaillPierre Jul 12, 2024
c28458b
Merge branch 'serverUnitTest' into development
MaillPierre Jul 12, 2024
d056895
Merge branch 'doc_development' into development
remiceres Jul 17, 2024
998aec0
chore: Update branch name in Sphinx workflow
remiceres Jul 17, 2024
a7f9ecf
Fix typos in cli doc
remiceres Jul 19, 2024
9b72fd8
Update JUnit dependencies in corese-command/pom.xml
remiceres Jul 22, 2024
3d2352f
Add remote=sparql test and dependencies for mock HTTPS server
remiceres Jul 22, 2024
b0c3c6a
Update Corese library Python examples with correct graph URIs
remiceres Jul 23, 2024
cb0c3ec
chore: Update remote-sparql command version to App.version
remiceres Jul 23, 2024
10c3b7b
Update prefix in SPARQL queries to use example.com domain
remiceres Jul 23, 2024
4726d8a
Rename inputFile into inputPath in ConvertTest
remiceres Jul 23, 2024
45e0fd7
Add test for Canonicalize command
remiceres Jul 23, 2024
50220fa
Bump rexml in /corese-unit-test/src/test/resources/data/rdf-star-main
dependabot[bot] Aug 2, 2024
58db614
chore: Update picocli dependency to version 4.7.6
remiceres Aug 2, 2024
0c26901
Update inputPath variable in CanonicalizeTest
remiceres Aug 2, 2024
cd65a90
refactor: Update SparqlTest to use canonical RDF comparison
remiceres Aug 2, 2024
5537bed
refactor Corese-Command and remove dupluicate code
remiceres Aug 2, 2024
b2afe1f
doc: Update request method option to use lowercase in remote-sparql c…
remiceres Aug 2, 2024
835f611
refactor: Update colors in Corese-Command
remiceres Aug 13, 2024
1247385
chore: Add generate-completion command in Corese-Command
remiceres Aug 14, 2024
c00b228
refactor: Update verbose mode flag in AbstractCommand to use negatable
remiceres Aug 14, 2024
f068150
refactor: Fix output enumeration colors for Convert command
remiceres Aug 14, 2024
1c27562
Merge branch 'development' into dependabot/bundler/corese-unit-test/s…
remiceres Aug 20, 2024
f0f4c17
Merge pull request #195 from Wimmics/dependabot/bundler/corese-unit-t…
remiceres Aug 20, 2024
480c0da
chore: Update flatpak metadata to include ipc sharing
remiceres Aug 20, 2024
2807a43
Bump rexml in /corese-unit-test/src/test/resources/data/rdf-star-main
dependabot[bot] Aug 22, 2024
f2bf7bf
Merge branch 'development' of github.com:Wimmics/corese into development
remiceres Aug 23, 2024
62e4e4f
Merge branch 'development' into dependabot/bundler/corese-unit-test/s…
remiceres Aug 23, 2024
0a26499
Merge pull request #196 from Wimmics/dependabot/bundler/corese-unit-t…
remiceres Aug 23, 2024
2d84a53
refactoring SPARQL REST API
MaillPierre Aug 27, 2024
0bb37b6
refactoring of utilities
MaillPierre Aug 27, 2024
f04dca1
Bug fix
MaillPierre Aug 28, 2024
5871d41
completing unit tests
MaillPierre Aug 28, 2024
5779810
Merge branch '#191' into development
MaillPierre Aug 28, 2024
cffc7c2
cleaning
MaillPierre Aug 28, 2024
bca607c
Merge branch 'GraphProtocol' into development
MaillPierre Aug 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: Add generate-completion command in Corese-Command
remiceres committed Aug 14, 2024
commit 12473852b7d9002e18366d959338776bc421403d
10 changes: 9 additions & 1 deletion corese-command/src/main/java/fr/inria/corese/command/App.java
Original file line number Diff line number Diff line change
@@ -5,20 +5,22 @@
import fr.inria.corese.command.programs.RemoteSparql;
import fr.inria.corese.command.programs.Shacl;
import fr.inria.corese.command.programs.Sparql;
import picocli.AutoComplete.GenerateCompletion;
import picocli.CommandLine;
import picocli.CommandLine.Command;
import picocli.CommandLine.Help.Ansi.Style;
import picocli.CommandLine.Help.ColorScheme;

@Command(name = "Corese-command", version = App.version, mixinStandardHelpOptions = true, subcommands = {
Convert.class, Sparql.class, Shacl.class, RemoteSparql.class, Canonicalize.class
Convert.class, Sparql.class, Shacl.class, RemoteSparql.class, Canonicalize.class, GenerateCompletion.class
})

public final class App implements Runnable {

public final static String version = "4.5.1";

public static void main(String[] args) {
// Define the color scheme
ColorScheme colorScheme = new ColorScheme.Builder()
.commands(Style.bold) // Commands in blue
.options(Style.fg_yellow) // Options in yellow
@@ -30,6 +32,12 @@ public static void main(String[] args) {
.build();

CommandLine commandLine = new CommandLine(new App()).setColorScheme(colorScheme);

// Hide the generate-completion command
CommandLine gen = commandLine.getSubcommands().get("generate-completion");
gen.getCommandSpec().usageMessage().hidden(true);

// Execute the command
int exitCode = commandLine.execute(args);
System.exit(exitCode);
}