summaryrefslogtreecommitdiff
path: root/internal/app/command.go
diff options
context:
space:
mode:
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,
+ }
+}