summaryrefslogtreecommitdiff
path: root/argv.custom.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-19 05:29:27 -0500
committerJeff Carr <[email protected]>2025-10-19 05:29:27 -0500
commit6ca452fb52c847c92704b9cd6ad13c91234eadbf (patch)
tree17644390434dd4ec1fe0d9b073b671669bb0f623 /argv.custom.go
parent4802283a2819d977f2f1d2e052ce30dbc00b3489 (diff)
new argvv0.0.20
Diffstat (limited to 'argv.custom.go')
-rw-r--r--argv.custom.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/argv.custom.go b/argv.custom.go
new file mode 100644
index 0000000..62c494a
--- /dev/null
+++ b/argv.custom.go
@@ -0,0 +1,20 @@
+package main
+
+/*
+ this parses the command line arguements
+*/
+
+// are sent via -ldflags at buildtime
+var VERSION string
+var BUILDTIME string
+
+var APPNAME string = "going2git"
+
+func (a args) Description() string {
+ return `
+This is a demo of git2go to show how it works.
+
+Actually, I don't know how to use libgit2 or git2go yet so really this is just
+an example of how to compile something against it.
+`
+}