twiggy_opt

Trait CommonCliOptions

Source
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§

Source

fn input(&self) -> &Path

Get the input file path.

Source

fn parse_mode(&self) -> ParseMode

Get the input data parse mode.

Source

fn output_destination(&self) -> &OutputDestination

Get the output destination.

Source

fn output_format(&self) -> OutputFormat

Get the output format.

Implementors§