pub struct Args {Show 14 fields
pub file_a: Option<PathBuf>,
pub file_b: Option<PathBuf>,
pub format_a: Option<InputFormat>,
pub format_b: Option<InputFormat>,
pub output: Option<PathBuf>,
pub output_format: OutputFormat,
pub graph_a: Option<String>,
pub graph_b: Option<String>,
pub quiet: bool,
pub ci: bool,
pub view: bool,
pub no_open: bool,
pub bind: String,
pub ignore_blank_nodes: bool,
}Expand description
Compare two RDF files and emit the diff as a quad dataset with two named graphs.
Fields§
§file_a: Option<PathBuf>First (left) RDF file.
file_b: Option<PathBuf>Second (right) RDF file.
format_a: Option<InputFormat>Override input format for file A (auto-detected from extension by default).
format_b: Option<InputFormat>Override input format for file B (auto-detected from extension by default).
output: Option<PathBuf>Output file (defaults to stdout).
output_format: OutputFormatOutput serialization.
graph_a: Option<String>Override the named-graph IRI for triples only in file A.
graph_b: Option<String>Override the named-graph IRI for triples only in file B.
quiet: boolSuppress the summary line on stderr.
ci: boolExit with code 1 if any differences are found (useful in CI).
view: boolOpen the diff in the local web viewer after computing it.
no_open: boolDo not auto-open the system browser when starting the viewer.
bind: StringBind address for the web viewer.
ignore_blank_nodes: boolSkip blank-node-bearing triples instead of canonicalising them. By default, when blank nodes are present, the W3C RDFC-1.0 algorithm is used to assign stable labels before diffing.
Trait Implementations§
Source§impl Args for Args
impl Args for Args
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl FromArgMatches for Args
impl FromArgMatches for Args
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.