aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorScott Lawrence <scott+git@ineffectivetheory.com>2024-06-01 11:42:48 -0600
committerScott Lawrence <scott+git@ineffectivetheory.com>2024-06-01 11:42:48 -0600
commit4efe817e075598cfa3ce2e85ec84f96a0d95c734 (patch)
tree3279a178b2a8904f82a22455025b8352645a2b0c /src
downloadvaranus-4efe817e075598cfa3ce2e85ec84f96a0d95c734.tar.gz
varanus-4efe817e075598cfa3ce2e85ec84f96a0d95c734.tar.bz2
varanus-4efe817e075598cfa3ce2e85ec84f96a0d95c734.zip
Initial commit
Diffstat (limited to 'src')
-rw-r--r--src/main.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
new file mode 100644
index 0000000..e9ce681
--- /dev/null
+++ b/src/main.rs
@@ -0,0 +1,16 @@
+use clap::Parser;
+
+#[derive(Parser)]
+struct Cli {
+ #[arg(short='d', long)]
+ daemon: bool,
+ #[arg(short='v', long)]
+ verbose: bool,
+}
+
+fn main() {
+ let args = Cli::parse();
+ if args.daemon {
+ } else {
+ }
+}