rudof_cli 0.3.11

RDF and Knowledge Graphs processing tool
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::cli::parser::CommonArgsNoBackend;
use clap::Args;
use rudof_lib::formats::InputSpec;

/// Arguments for the `sparql` command
#[derive(Debug, Clone, Args)]
pub struct SparqlArgs {
    #[arg(
        short = 'q',
        long = "query",
        value_name = "INPUT",
        help = "SPARQL query, FILE, URI or - for stdin. If omitted, shows the currently loaded query"
    )]
    pub query: Option<InputSpec>,

    #[command(flatten)]
    pub common: CommonArgsNoBackend,
}