semantic_search_cli/commands/
mod.rs

1//! Subcommands for the Semantic Search CLI.
2
3mod index;
4mod search;
5mod serve;
6mod telegram;
7
8use argh::FromArgs;
9pub use index::Index;
10
11/// Possible commands.
12#[derive(FromArgs, PartialEq, Eq, Debug)]
13#[argh(subcommand)]
14pub enum Command {
15    /// An index command.
16    Index(index::Index),
17    /// A search command.
18    Search(search::Search),
19    /// A Telegram bot command.
20    Telegram(telegram::Telegram),
21    /// A serve command.
22    Serve(serve::Serve),
23}