(&self)
| 221 | |
| 222 | impl Command for View { |
| 223 | fn run(&self) -> CliResult<()> { |
| 224 | match &self.command { |
| 225 | ViewCommands::Create(cmd) => cmd.run(), |
| 226 | ViewCommands::Split(cmd) => cmd.run(), |
| 227 | ViewCommands::Switch(cmd) => cmd.run(), |
| 228 | ViewCommands::Delete(cmd) => cmd.run(), |
| 229 | ViewCommands::List(cmd) => cmd.run(), |
| 230 | ViewCommands::Show(cmd) => cmd.run(), |
| 231 | ViewCommands::Promote(cmd) => cmd.run(), |
| 232 | } |
| 233 | } |
| 234 | } |
| 235 | |
| 236 | // Tests |
nothing calls this directly
no outgoing calls
no test coverage detected