pub fn run(self, opt: CommonOpt) -> Result<(), Box<dyn ExitCodeError>> {
        match self {
            Self::Action(cmd) => subcommand::action::run(cmd, opt)?,
            Self::Launch(cmd) => subcommand::launch::run(cmd, opt)?,
            Self::Listen(cmd) => subcommand::listen::run(cmd, opt)?,
            Self::Lsp(cmd) => subcommand::lsp::run(cmd, opt)?,
        }

        Ok(())
    }
/// Runs the subcommand, returning the result
Runs the subcommand, returning the result
Runs the subcommand returning the result
pub fn run(self, opt: CommonOpt) -> Result<(), Box<dyn ExitCodeError>> {
        match self {
            Self::Action(cmd) => subcommand::action::run(cmd, opt)?,
            Self::Launch(cmd) => subcommand::launch::run(cmd, opt)?,
            Self::Listen(cmd) => subcommand::listen::run(cmd, opt)?,
            Self::Lsp(cmd) => subcommand::lsp::run(cmd, opt)?,
        }
        Ok(())
    }
pub fn run ( self , opt : CommonOpt ) -> Result < ( ) , Box < dyn ExitCodeError > > { match self { Self :: Action ( cmd ) => subcommand :: action :: run ( cmd , opt ) ? , Self :: Launch ( cmd ) => subcommand :: launch :: run ( cmd , opt ) ? , Self :: Listen ( cmd ) => subcommand :: listen :: run ( cmd , opt ) ? , Self :: Lsp ( cmd ) => subcommand :: lsp :: run ( cmd , opt ) ? , } Ok ( ( ) ) }
Runs the subcommand, returning the result
Runs the subcommand returning the result
self
opt
CommonOpt