summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-20 13:19:29 -0500
committerJeff Carr <[email protected]>2025-10-20 13:19:29 -0500
commit278b3eb0c1956ebfaa85df374f0ea2f25adba2a4 (patch)
treee9cd63a1edf2043ff5449d4acaf924df502a1baa
parentae8f376f36cd573146f4a0b73e5ae07f576a2178 (diff)
also notsure
-rw-r--r--argv.struct.go1
-rw-r--r--doGit.go2
2 files changed, 3 insertions, 0 deletions
diff --git a/argv.struct.go b/argv.struct.go
index ce2e56a..6813437 100644
--- a/argv.struct.go
+++ b/argv.struct.go
@@ -97,6 +97,7 @@ type GitCmd struct {
Tag *EmptyCmd `arg:"subcommand:tag" help:"show tags"`
Pull *EmptyCmd `arg:"subcommand:pull" help:"pull the wit standard paths"`
Push *EmptyCmd `arg:"subcommand:push" help:"push the wit standard paths"`
+ Template string `arg:"--template" help:"create a new reup from a tempalte"`
Create string `arg:"--create" help:"create new repo"`
Edit string `arg:"--edit" help:"edit the subject of the last commit"`
ChopHEAD int `arg:"--chop-head-off" help:"remove the last commit (HEAD-1)"`
diff --git a/doGit.go b/doGit.go
index 5240643..f26a5cc 100644
--- a/doGit.go
+++ b/doGit.go
@@ -62,6 +62,8 @@ func doGit() (string, error) {
if argv.Git.Create != "" {
s = "attmepting to create new repo"
}
+ if argv.Git.Template != "" {
+ }
if argv.Git.Edit != "" {
log.Info("change last git commit message to:", argv.Git.Edit)