Skip to main content

talon_cli/cli/
ask_args.rs

1//! Arguments for `talon ask`.
2
3use clap::Args;
4
5use super::SharedSearchArgs;
6
7/// Arguments for the `ask` subcommand.
8#[derive(Debug, Clone, Args)]
9#[command(
10    about = "Ask a vault-grounded question.",
11    long_about = r#"Ask a broad question and synthesize an answer from ranked vault snippets.
12
13The question is planned into search queries with the configured ask model,
14then Talon's existing search pipeline retrieves the supporting snippets."#
15)]
16pub struct AskArgs {
17    /// Question to answer from vault knowledge.
18    pub question: Vec<String>,
19
20    #[command(flatten)]
21    pub shared: SharedSearchArgs,
22}