summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 15:34:13 -0600
committerJeff Carr <[email protected]>2024-12-17 15:34:13 -0600
commit4e299a8ca079469b129fb78e3f87785b1fcea48b (patch)
treeeb3a23919a5155c17ee965da9e88eb0367aa7a20 /main.go
parent05208620a6c184d9c5db01972f32f7c5b51ccc8b (diff)
add --delete
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.go b/main.go
index 2a5bb0f..92704e0 100644
--- a/main.go
+++ b/main.go
@@ -42,6 +42,12 @@ func main() {
configSave = false
}
+ if argv.Delete != "" {
+ me.forge.DeleteByGoPath(argv.Delete)
+ me.forge.SetConfigSave(true)
+ okExit("")
+ }
+
/*
// var count int
all := me.forge.Repos.SortByFullPath()