From 53c26d656f975f93319dd432e409c1ea740ce06d Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 22 Jan 2026 08:40:59 +0800 Subject: Rename subcmd module to cmd and update references --- src/subcmd/cmds/status.rs | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 src/subcmd/cmds/status.rs (limited to 'src/subcmd/cmds/status.rs') diff --git a/src/subcmd/cmds/status.rs b/src/subcmd/cmds/status.rs deleted file mode 100644 index 2b92df6..0000000 --- a/src/subcmd/cmds/status.rs +++ /dev/null @@ -1,45 +0,0 @@ -use clap::Parser; -use serde::Serialize; - -use crate::subcmd::{ - cmd::{JVCommand, JVCommandContext}, - errors::{CmdExecuteError, CmdPrepareError, CmdRenderError}, - renderer::{JVRenderResult, JVResultRenderer}, -}; - -pub struct JVStatusCommand; - -#[derive(Parser, Debug)] -pub struct JVStatusArgument; - -pub struct JVStatusInput; - -#[derive(Serialize)] -pub struct JVStatusOutput; - -impl JVCommand - for JVStatusCommand -{ - async fn prepare( - args: JVStatusArgument, - ctx: JVCommandContext, - ) -> Result { - todo!() - } - - async fn exec(args: JVStatusInput) -> Result { - todo!() - } - - fn get_help_str() -> String { - "".to_string() - } -} - -pub struct JVStatusRenderer; - -impl JVResultRenderer for JVStatusRenderer { - async fn render(data: &JVStatusOutput) -> Result { - todo!() - } -} -- cgit