macro_rules! remote_dispatch_handler {
($name:ident, $cmd:ty, $inner:ident) => {
pub async fn $name(ctx: &mut crate::context::CliContext, command: &$cmd) -> anyhow::Result<()> {
match command {
<$cmd>::Remote => $inner(ctx).await,
}
}
};
}
pub mod add;
pub mod auth;
pub mod build;
pub mod cache;
pub mod config;
pub mod dev;
pub mod diagnostics;
pub mod format;
pub mod init;
pub mod lint;
pub mod logs;
pub mod model;
pub mod ps;
pub mod robot;
pub mod run;
pub mod setup;
pub mod sim;
pub mod stop;
pub mod target;
pub mod topics;
pub mod topology;
pub mod train;
pub mod upload;