pub fn run(self, config: Config) -> Result<(), Error> {
        match self {
            Operation::Config => 
                Self::print_config(config),
            Operation::Man { output } => {
                match output {
                    Some(output) => Self::output_man(output),
                    None => Self::display_man(),
                }
            }
            Operation::Rtrd { attached }
                => Self::rtrd(config, attached),
            Operation::Update
                => Self::update(config),
            Operation::Vrps { output, format, noupdate } 
                => Self::vrps(config, output, format, noupdate),
        }
    }
/// Runs the command.
///
/// Depending on the command, this method may switch to logging at some
/// point.
Runs the command.
Depending on the command, this method may switch to logging at some
point.
Runs the command . Depending on the command this method may switch to logging at some point .
pub fn run(self, config: Config) -> Result<(), Error> {
        match self {
            Operation::Config => 
                Self::print_config(config),
            Operation::Man { output } => {
                match output {
                    Some(output) => Self::output_man(output),
                    None => Self::display_man(),
                }
            }
            Operation::Rtrd { attached }
                => Self::rtrd(config, attached),
            Operation::Update
                => Self::update(config),
            Operation::Vrps { output, format, noupdate } 
                => Self::vrps(config, output, format, noupdate),
        }
    }
pub fn run ( self , config : Config ) -> Result < ( ) , Error > { match self { Operation :: Config => Self :: print_config ( config ) , Operation :: Man { output } => { match output { Some ( output ) => Self :: output_man ( output ) , None => Self :: display_man ( ) , } } Operation :: Rtrd { attached } => Self :: rtrd ( config , attached ) , Operation :: Update => Self :: update ( config ) , Operation :: Vrps { output , format , noupdate } => Self :: vrps ( config , output , format , noupdate ) , } }
Runs the command.
Runs the command .
self
config
Config
self
config
Config