Skip to content

Commit

Permalink
Use clap parser
Browse files Browse the repository at this point in the history
  • Loading branch information
ameba23 committed Nov 13, 2024
1 parent 4618d44 commit 4bc89fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions templates/basic-template/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ name = "cli"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
clap ={ version="4.4.6", features=["derive"] }
clap ={ version="4.5.20", features=["derive"] }
subxt ={version = "0.35.3", features = ["substrate-compat"]}
colored ="2.0.4"
tokio ={ version="1.16", features=["macros", "rt-multi-thread", "io-util", "process"] }
anyhow ="1.0.82"
dotenv = "0.15.0"
generate-types = { path = "../generate-types" }
project-root = "0.2.2"
entropy-test-cli = { git="https://github.com/entropyxyz/entropy-core.git", branch = "master" }
entropy-test-cli = { git="https://github.com/entropyxyz/entropy-core.git", branch = "master" }
3 changes: 2 additions & 1 deletion templates/basic-template/cli/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use clap::Parser;
use colored::Colorize;
use dotenv::dotenv;
use entropy_test_cli::{run_command, PROGRAM_VERSION_NUMBER};
use entropy_test_cli::{run_command, Cli, PROGRAM_VERSION_NUMBER};
use generate_types::generate_types;
use project_root::get_project_root;

Expand Down

0 comments on commit 4bc89fe

Please sign in to comment.