From 8441abd29aea53719c19f34ec6d542a4575a23c9 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 11 Feb 2026 00:15:14 +0900 Subject: define subcommands and options --- src/commands/clear_cache.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/commands/clear_cache.rs (limited to 'src/commands/clear_cache.rs') diff --git a/src/commands/clear_cache.rs b/src/commands/clear_cache.rs new file mode 100644 index 0000000..051ff4c --- /dev/null +++ b/src/commands/clear_cache.rs @@ -0,0 +1,12 @@ +use clap::Args; + +#[derive(Args)] +pub struct ClearCacheArgs { + /// Only run garbage collection, not a full cache clear + #[arg(long)] + pub gc: bool, +} + +pub fn execute(_args: &ClearCacheArgs) { + todo!() +} -- cgit v1.3.1