diff --git a/.gitignore b/.gitignore index 984d1aa..e491f8e 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,8 @@ target/ # MSVC Windows builds of rustc generate these, which store debugging information *.pdb +.opencode + # RustRover # JetBrains specific template is maintained in a separate JetBrains.gitignore that can # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore diff --git a/src/main.rs b/src/main.rs index 8090492..c732786 100644 --- a/src/main.rs +++ b/src/main.rs @@ -36,6 +36,7 @@ struct Cli { enum Commands { Install(InstallArgs), Init, + Version, } #[derive(Debug, Args)] @@ -64,5 +65,8 @@ async fn main() { installer::init_fxpkg(path); } + Commands::Version => { + println!("fxpkg version 0.1.0"); + } } }