pub trait CommonCliOptions {
// Required methods
fn input(&self) -> &Path;
fn parse_mode(&self) -> ParseMode;
fn output_destination(&self) -> &OutputDestination;
fn output_format(&self) -> OutputFormat;
}
Expand description
Options that are common to all commands.
Required Methods§
Sourcefn parse_mode(&self) -> ParseMode
fn parse_mode(&self) -> ParseMode
Get the input data parse mode.
Sourcefn output_destination(&self) -> &OutputDestination
fn output_destination(&self) -> &OutputDestination
Get the output destination.
Sourcefn output_format(&self) -> OutputFormat
fn output_format(&self) -> OutputFormat
Get the output format.