Wave 2: CLI skeleton, cache write, config system, spec indexer (bd-3d2, bd-1ie, bd-1sb, bd-189)

This commit is contained in:
teernisse
2026-02-12 12:41:18 -05:00
parent 8289d3b89f
commit deb2794136
25 changed files with 2008 additions and 36 deletions

18
src/cli/sync_cmd.rs Normal file
View File

@@ -0,0 +1,18 @@
use clap::Args as ClapArgs;
use crate::errors::SwaggerCliError;
/// Re-fetch and update a cached spec
#[derive(Debug, ClapArgs)]
pub struct Args {
/// Alias to sync
pub alias: String,
/// Auth profile name from config
#[arg(long)]
pub auth: Option<String>,
}
pub async fn execute(_args: &Args, _robot: bool) -> Result<(), SwaggerCliError> {
Err(SwaggerCliError::Usage("sync not yet implemented".into()))
}