| 1 | #[path = "anchor.rs"] |
| 2 | pub mod anchor; |
| 3 | #[path = "copy.rs"] |
| 4 | pub mod copy; |
| 5 | #[path = "dashboard.rs"] |
| 6 | pub mod dashboard; |
| 7 | #[path = "help.rs"] |
| 8 | pub mod help; |
| 9 | #[path = "home.rs"] |
| 10 | pub mod home; |
| 11 | #[path = "hotbar.rs"] |
| 12 | pub mod hotbar; |
| 13 | #[path = "links.rs"] |
| 14 | pub mod links; |
| 15 | #[path = "transcript.rs"] |
| 16 | pub mod transcript; |
| 17 | #[path = "translate.rs"] |
| 18 | pub mod translate; |
| 19 | #[path = "turn.rs"] |
| 20 | pub mod turn; |
| 21 | #[path = "voice.rs"] |
| 22 | pub mod voice; |
| 23 | #[path = "workspace.rs"] |
| 24 | pub mod workspace; |
| 25 | |
| 26 | use codewhale_command_contract::handler::CommandHandler; |
| 27 | use codewhale_command_contract::metadata::{CommandInfo, RegisterCommand}; |
| 28 | use codewhale_command_contract::outcome::CoreNavigationCommandResult; |
| 29 | |
| 30 | pub fn portable_handlers() -> [( |
| 31 | &'static CommandInfo, |
| 32 | CommandHandler<CoreNavigationCommandResult>, |
| 33 | ); 16] { |
| 34 | [ |
| 35 | (anchor::AnchorCmd::info(), anchor::AnchorCmd::handler()), |
| 36 | (help::HelpCmd::info(), help::HelpCmd::handler()), |
| 37 | (copy::CopyCmd::info(), copy::CopyCmd::handler()), |
| 38 | (hotbar::HotbarCmd::info(), hotbar::HotbarCmd::handler()), |
| 39 | (links::LinksCmd::info(), links::LinksCmd::handler()), |
| 40 | ( |
| 41 | transcript::TranscriptCmd::info(), |
| 42 | transcript::TranscriptCmd::handler(), |
| 43 | ), |
| 44 | (turn::TurnCmd::info(), turn::TurnCmd::handler()), |
| 45 | (home::HomeCmd::info(), home::HomeCmd::handler()), |
| 46 | (home::OverviewCmd::info(), home::OverviewCmd::handler()), |
| 47 | ( |
| 48 | workspace::WorkspaceCmd::info(), |
| 49 | workspace::WorkspaceCmd::handler(), |
| 50 | ), |
| 51 | ( |
| 52 | translate::TranslateCmd::info(), |
| 53 | translate::TranslateCmd::handler(), |
| 54 | ), |
| 55 | (voice::VoiceCmd::info(), voice::VoiceCmd::handler()), |
| 56 | (voice::VoiceSendCmd::info(), voice::VoiceSendCmd::handler()), |
| 57 | ( |
| 58 | voice::VoiceControlCmd::info(), |
| 59 | voice::VoiceControlCmd::handler(), |
| 60 | ), |
| 61 | ( |
| 62 | dashboard::DashboardCmd::info(), |
| 63 | dashboard::DashboardCmd::handler(), |
| 64 | ), |
| 65 | ( |
| 66 | workspace::WorktreeCmd::info(), |
| 67 | workspace::WorktreeCmd::handler(), |
| 68 | ), |
| 69 | ] |
| 70 | } |
| 71 |