Skip to content

Commit

Permalink
revert(cli): ⏪ revert the complext circuit execution
Browse files Browse the repository at this point in the history
  • Loading branch information
SpiralOutDotEu committed Oct 30, 2023
1 parent 0a34d3d commit e8cca4e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/cli.rs
Expand Up @@ -4,8 +4,6 @@ use clap::{Parser, Subcommand};
mod commands;
use commands::{circuit, compile, setup};

use self::commands::circuit::RealFileSystem;

/// Represents the command line interface for the Zero Knowledge Whitelist Tool.
/// Deriving `Parser` from clap allows for automatic parsing of command line arguments.
#[derive(Parser)]
Expand Down Expand Up @@ -37,10 +35,9 @@ pub enum SubCommand {
/// Parses command line arguments and executes the corresponding subcommand.
pub fn run_cli() -> std::io::Result<()> {
let args = Cli::parse();
let fs = RealFileSystem;

match args.subcmd {
SubCommand::Circuit => circuit::handle_circuit_subcommand(&fs)?,
SubCommand::Circuit => circuit::handle_circuit_subcommand()?,
SubCommand::Compile => compile::handle_compile_subcommand()?,
SubCommand::Setup => setup::handle_setup_subcommand()?,
};
Expand Down

0 comments on commit e8cca4e

Please sign in to comment.