summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-06-14 18:25:13 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-06-14 18:25:13 +0530
commit09ea40bbfbbff1d64e502886a7fa2554a5190ce6 (patch)
treece898c10517386c000e477e754f3b52ffdae0a8e
parent2aa77384a0125cc7378ac6b36f8c468b74b2ad05 (diff)
Post clap addition
-rw-r--r--Cargo.toml1
-rw-r--r--src/main.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 64ce4b8..776f321 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,3 +6,4 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
+clap = { version = "3.2.17", features = ["derive"] }
diff --git a/src/main.rs b/src/main.rs
index 6bb5758..6366b0f 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,3 +1,4 @@
+//Prereq - cargo add clap --features derive
#![allow(unused)]
///Using clap - command line argument parser
use clap::Parser;