Removed configure subcommand for now; Added setup subcommand to initialize the video repository
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -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 => {
|
||||
|
Reference in New Issue
Block a user