summaryrefslogtreecommitdiff
path: root/internal/app/command.go
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2025-02-03 01:12:45 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2025-02-03 01:12:45 -0500
commit5389e1a5d26fdbf2441fa5a1e101999e8449b9d1 (patch)
tree069cd37cb8e556c1ba3b47c3ea8576a1aa91ea2c /internal/app/command.go
Batman
Diffstat (limited to 'internal/app/command.go')
-rw-r--r--internal/app/command.go23
1 files changed, 23 insertions, 0 deletions
diff --git a/internal/app/command.go b/internal/app/command.go
new file mode 100644
index 0000000..5c32ba2
--- /dev/null
+++ b/internal/app/command.go
@@ -0,0 +1,23 @@
+package app
+
+import (
+ "github.com/urfave/cli/v3"
+)
+
+const (
+ AppName = "rafta"
+ AppUsage = "Really, Another Freaking Todo App?!"
+)
+
+var version = "COMPILED"
+
+func Command() *cli.Command {
+ return &cli.Command{
+ Name: AppName,
+ Usage: AppUsage,
+ Authors: []any{"Benjamin Chausse <benjamin@chausse.xyz>"},
+ Version: version,
+ Flags: flags(),
+ Action: action,
+ }
+}