cli/commands/log/
mod.rs

1mod android;
2
3use crate::error::Result;
4use android::AndroidLogCommand;
5use clap::Clap;
6use creator_tools::utils::Config;
7
8#[derive(Clap, Clone, Debug)]
9pub enum LogCommand {
10    Android(AndroidLogCommand),
11}
12
13impl LogCommand {
14    pub fn handle_command(&self, config: &Config) -> Result<()> {
15        match self {
16            LogCommand::Android(cmd) => cmd.run(config),
17        }
18    }
19}