diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-14 21:39:30 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-14 21:39:30 +0800 |
| commit | 54b5567d6f1b1adaa6ada6a26faba0c5c492b7f3 (patch) | |
| tree | 407940ef4697e4b5eb2bf7384f26b6ec5e570a80 /src/cmds/out | |
| parent | 17e7b28f162b3ed75683948144237ee17f81f7a5 (diff) | |
Add version command with banner and compile info display
Diffstat (limited to 'src/cmds/out')
| -rw-r--r-- | src/cmds/out/version.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/cmds/out/version.rs b/src/cmds/out/version.rs new file mode 100644 index 0000000..fcbd90c --- /dev/null +++ b/src/cmds/out/version.rs @@ -0,0 +1,10 @@ +use crate::data::compile_info::CompileInfo; +use just_enough_vcs::data::compile_info::CoreCompileInfo; + +#[derive(serde::Serialize)] +pub struct JVVersionOutput { + pub show_compile_info: bool, + pub show_banner: bool, + pub compile_info: CompileInfo, + pub compile_info_core: CoreCompileInfo, +} |
