diff --git a/src/barnard59.ts b/src/barnard59.ts new file mode 100644 index 000000000000..58a60d7a86fe --- /dev/null +++ b/src/barnard59.ts @@ -0,0 +1,503 @@ +// Autogenerated by @fig/complete-commander + +const completionSpec: Fig.Spec = { + name: "barnard59", + subcommands: [ + { + name: "run", + options: [ + { + name: "--output", + description: "Output file", + args: { name: "filename", isOptional: true, default: "-" }, + }, + { + name: "--pipeline", + description: "IRI of the pipeline description", + args: { name: "iri", isOptional: true }, + }, + { + name: "--variable", + description: "Variable key/value pairs", + args: { name: "name=value" }, + }, + { + name: "--variable-all", + description: "Import all environment variables", + }, + { + name: ["-v", "--verbose"], + description: "Enable diagnostic console output", + }, + { name: ["-q", "--quiet"], description: "Disable all logging" }, + { + name: ["-h", "--help"], + description: "Display help for command", + priority: 49, + }, + ], + args: { name: "filename" }, + }, + { + name: "cube", + subcommands: [ + { + name: "fetch-metadata", + description: + "Retrieves cube and its constraint shape from SPARQL endpoint", + options: [ + { + name: "--endpoint", + description: "SPARQL endpoint", + isRequired: true, + args: { name: "endpoint" }, + }, + { + name: "--cube", + description: "Cube URI", + isRequired: true, + args: { name: "cube" }, + }, + { + name: "--variable", + description: "Variable key/value pairs", + args: { name: "name=value" }, + }, + { + name: "--variable-all", + description: "Import all environment variables", + }, + { + name: ["-v", "--verbose"], + description: "Enable diagnostic console output", + }, + { + name: ["-h", "--help"], + description: "Display help for command", + priority: 49, + }, + ], + }, + { + name: "check-metadata", + description: + "Validate input cube and its constraint against profile shapes", + options: [ + { + name: "--profile", + description: "Cube constraint profile URL", + isRequired: true, + args: { + name: "profile", + default: + "https://cube.link/latest/shape/standalone-constraint-constraint", + }, + }, + { + name: "--profileFormat", + description: "Override the profile format", + args: { name: "profileFormat" }, + }, + { + name: "--variable", + description: "Variable key/value pairs", + args: { name: "name=value" }, + }, + { + name: "--variable-all", + description: "Import all environment variables", + }, + { + name: ["-v", "--verbose"], + description: "Enable diagnostic console output", + }, + { + name: ["-h", "--help"], + description: "Display help for command", + priority: 49, + }, + ], + }, + { + name: "fetch-observations", + description: "Retrieves cube observations from SPARQL endpoint", + options: [ + { + name: "--endpoint", + description: "SPARQL endpoint", + isRequired: true, + args: { name: "endpoint" }, + }, + { + name: "--cube", + description: "Cube URI", + isRequired: true, + args: { name: "cube" }, + }, + { + name: "--variable", + description: "Variable key/value pairs", + args: { name: "name=value" }, + }, + { + name: "--variable-all", + description: "Import all environment variables", + }, + { + name: ["-v", "--verbose"], + description: "Enable diagnostic console output", + }, + { + name: ["-h", "--help"], + description: "Display help for command", + priority: 49, + }, + ], + }, + { + name: "check-observations", + description: "Validate input observations against cube constraint", + options: [ + { + name: "--constraint", + description: "Cube constraint file", + isRequired: true, + args: { name: "constraint" }, + }, + { + name: "--batchSize", + description: "Batch size", + isRequired: true, + args: { name: "batchSize", default: "50" }, + }, + { + name: "--maxViolations", + description: "Max number of violations", + isRequired: true, + args: { name: "maxViolations", default: "500" }, + }, + { + name: "--sortChunkSize", + description: "Sort chunk size", + isRequired: true, + args: { name: "sortChunkSize", default: "100000" }, + }, + { + name: "--variable", + description: "Variable key/value pairs", + args: { name: "name=value" }, + }, + { + name: "--variable-all", + description: "Import all environment variables", + }, + { + name: ["-v", "--verbose"], + description: "Enable diagnostic console output", + }, + { + name: ["-h", "--help"], + description: "Display help for command", + priority: 49, + }, + ], + }, + { + name: "fetch-constraint", + description: "Retrieves cube constraint from SPARQL endpoint", + options: [ + { + name: "--endpoint", + description: "SPARQL endpoint", + isRequired: true, + args: { name: "endpoint" }, + }, + { + name: "--cube", + description: "Cube URI", + isRequired: true, + args: { name: "cube" }, + }, + { + name: "--variable", + description: "Variable key/value pairs", + args: { name: "name=value" }, + }, + { + name: "--variable-all", + description: "Import all environment variables", + }, + { + name: ["-v", "--verbose"], + description: "Enable diagnostic console output", + }, + { + name: ["-h", "--help"], + description: "Display help for command", + priority: 49, + }, + ], + }, + { + name: "fetch-cube", + description: "Retrieves cube with observations from SPARQL endpoint", + options: [ + { + name: "--endpoint", + description: "SPARQL endpoint", + isRequired: true, + args: { name: "endpoint" }, + }, + { + name: "--cube", + description: "Cube URI", + isRequired: true, + args: { name: "cube" }, + }, + { + name: "--variable", + description: "Variable key/value pairs", + args: { name: "name=value" }, + }, + { + name: "--variable-all", + description: "Import all environment variables", + }, + { + name: ["-v", "--verbose"], + description: "Enable diagnostic console output", + }, + { + name: ["-h", "--help"], + description: "Display help for command", + priority: 49, + }, + ], + }, + { + name: "help", + description: "Display help for command", + priority: 49, + args: { name: "command", isOptional: true, template: "help" }, + }, + ], + options: [ + { name: ["-V", "--version"], description: "Output the version number" }, + { + name: ["-h", "--help"], + description: "Display help for command", + priority: 49, + }, + ], + }, + { + name: "graph-store", + subcommands: [ + { + name: "put", + description: "Upload RDF documents using SPARQL Graph Store Protocol", + options: [ + { + name: "--source", + description: "Glob of RDF documents to upload", + isRequired: true, + args: { name: "source" }, + }, + { name: "--graph", args: { name: "graph" } }, + { + name: "--endpoint", + isRequired: true, + args: { name: "endpoint" }, + }, + { name: "--user", args: { name: "user" } }, + { name: "--password", args: { name: "password" } }, + { + name: "--variable", + description: "Variable key/value pairs", + args: { name: "name=value" }, + }, + { + name: "--variable-all", + description: "Import all environment variables", + }, + { + name: ["-v", "--verbose"], + description: "Enable diagnostic console output", + }, + { + name: ["-h", "--help"], + description: "Display help for command", + priority: 49, + }, + ], + }, + { + name: "help", + description: "Display help for command", + priority: 49, + args: { name: "command", isOptional: true, template: "help" }, + }, + ], + options: [ + { name: ["-V", "--version"], description: "Output the version number" }, + { + name: ["-h", "--help"], + description: "Display help for command", + priority: 49, + }, + ], + }, + { + name: "shacl", + subcommands: [ + { + name: "validate", + description: + "Validates the RDF in standard input against a SHACL document", + options: [ + { + name: "--shapes", + description: "URL or path of the shapes graph", + isRequired: true, + args: { name: "shapes" }, + }, + { + name: "--shapesMediaType", + description: "Override the shapes graph format", + args: { name: "shapesMediaType" }, + }, + { + name: "--variable", + description: "Variable key/value pairs", + args: { name: "name=value" }, + }, + { + name: "--variable-all", + description: "Import all environment variables", + }, + { + name: ["-v", "--verbose"], + description: "Enable diagnostic console output", + }, + { + name: ["-h", "--help"], + description: "Display help for command", + priority: 49, + }, + ], + }, + { + name: "report-summary", + description: "Human-readable summary of SHACL validation report", + options: [ + { + name: "--variable", + description: "Variable key/value pairs", + args: { name: "name=value" }, + }, + { + name: "--variable-all", + description: "Import all environment variables", + }, + { + name: ["-v", "--verbose"], + description: "Enable diagnostic console output", + }, + { + name: ["-h", "--help"], + description: "Display help for command", + priority: 49, + }, + ], + }, + { + name: "help", + description: "Display help for command", + priority: 49, + args: { name: "command", isOptional: true, template: "help" }, + }, + ], + options: [ + { name: ["-V", "--version"], description: "Output the version number" }, + { + name: ["-h", "--help"], + description: "Display help for command", + priority: 49, + }, + ], + }, + { + name: "help", + description: "Display help for command", + priority: 49, + args: { name: "command", isOptional: true, template: "help" }, + }, + ], + options: [ + { + name: "--variable", + description: "Variable key/value pairs", + args: { name: "name=value" }, + }, + { + name: "--variable-all", + description: "Import all environment variables", + }, + { + name: ["-v", "--verbose"], + description: "Enable diagnostic console output", + }, + { name: ["-q", "--quiet"], description: "Disable all logging" }, + { + name: "--enable-buffer-monitor", + description: "Enable histogram of buffer usage", + }, + { + name: "--otel-debug", + description: "Enable OpenTelemetry console diagnostic output", + args: { + name: "level", + suggestions: [ + "NONE", + "ERROR", + "WARN", + "INFO", + "DEBUG", + "VERBOSE", + "ALL", + ], + default: "ERROR", + }, + }, + { + name: "--otel-metrics-exporter", + description: "OpenTelemetry Metrics exporter to use", + args: { + name: "exporter", + suggestions: ["otlp", "none"], + default: "none", + }, + }, + { + name: "--otel-metrics-interval", + description: "Export Metrics interval", + args: { name: "milliseconds", default: "10000" }, + }, + { + name: "--otel-traces-exporter", + description: "OpenTelemetry Traces exporter to use", + args: { + name: "exporter", + suggestions: ["otlp", "none"], + default: "none", + }, + }, + { + name: ["-h", "--help"], + description: "Display help for command", + priority: 49, + }, + ], +}; + +export default completionSpec;