Removed configure subcommand for now; Added setup subcommand to initialize the video repository
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2022-10-21 19:37:45 -04:00
parent 0b327f304e
commit 004c057a2c
3 changed files with 23 additions and 30 deletions

View File

@@ -19,7 +19,7 @@ struct Cli {
#[derive(Subcommand)]
enum Commands {
/// displays version info about this program
Configure {},
Setup {},
}
fn main() {
@@ -37,7 +37,7 @@ fn main() {
match &cli.command {
// sub-commands will be handled here
Some(Commands::Configure {}) => cmd::core::configure_command(config_path),
Some(Commands::Setup {}) => cmd::core::setup_command(config_path),
// run the main program without any commands
None => {