vtcode_core/cli/args/ask.rs
1use clap::ValueEnum;
2
3/// Options for the `ask` command
4#[derive(Debug, Default, Clone)]
5pub struct AskCommandOptions {
6 pub output_format: Option<AskOutputFormat>,
7 pub allowed_tools: Vec<String>,
8 pub disallowed_tools: Vec<String>,
9 pub skip_confirmations: bool,
10}
11
12/// Output format options for the `ask` subcommand.
13#[derive(Copy, Clone, Debug, PartialEq, Eq, ValueEnum)]
14pub enum AskOutputFormat {
15 /// Emit the response as a structured JSON document.
16 Json,
17}