Wave 2: CLI skeleton, cache write, config system, spec indexer (bd-3d2, bd-1ie, bd-1sb, bd-189)
This commit is contained in:
15
src/cli/doctor.rs
Normal file
15
src/cli/doctor.rs
Normal file
@@ -0,0 +1,15 @@
|
||||
use clap::Args as ClapArgs;
|
||||
|
||||
use crate::errors::SwaggerCliError;
|
||||
|
||||
/// Check cache health and diagnose issues
|
||||
#[derive(Debug, ClapArgs)]
|
||||
pub struct Args {
|
||||
/// Attempt to fix issues automatically
|
||||
#[arg(long)]
|
||||
pub fix: bool,
|
||||
}
|
||||
|
||||
pub async fn execute(_args: &Args, _robot: bool) -> Result<(), SwaggerCliError> {
|
||||
Err(SwaggerCliError::Usage("doctor not yet implemented".into()))
|
||||
}
|
||||
Reference in New Issue
Block a user