diff options
| -rw-r--r-- | argv.struct.go | 1 | ||||
| -rw-r--r-- | doGit.go | 2 |
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)"` @@ -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) |
