Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ mod google;
mod init;
mod login;
mod skills;
mod test;
mod tui;

#[derive(Debug, Default)]
Expand Down Expand Up @@ -101,6 +102,8 @@ pub enum CommandGroup {
Skills(skills::Skills),
/// Start TUI session
Tui,
/// This command group contains the commands to drive device simulators/emulators for app testing.
Test(test::Test),
}

impl ClapApp {
Expand Down Expand Up @@ -131,6 +134,7 @@ impl ClapApp {
.await
}
CommandGroup::Tui => handle_tui(channel).await,
CommandGroup::Test(test) => test.handle_command().await,
};

// Check for CLI updates:
Expand Down Expand Up @@ -186,7 +190,7 @@ fn get_context_without_application(clap_app: &ClapApp) -> Result<Context, WKCliE
}

#[cfg(test)]
mod test {
mod tests {
use super::ClapApp;

#[test]
Expand Down
Loading
Loading