feat: move remaining go scripts to main executable
This commit is contained in:
parent
4e056632c8
commit
7c7f948ad6
3 changed files with 59 additions and 5 deletions
11
main.go
11
main.go
|
@ -8,6 +8,8 @@ import (
|
|||
"codeberg.org/u1f320/pronouns.cc/backend/exporter"
|
||||
"codeberg.org/u1f320/pronouns.cc/backend/server"
|
||||
"codeberg.org/u1f320/pronouns.cc/scripts/cleandb"
|
||||
"codeberg.org/u1f320/pronouns.cc/scripts/genid"
|
||||
"codeberg.org/u1f320/pronouns.cc/scripts/genkey"
|
||||
"codeberg.org/u1f320/pronouns.cc/scripts/migrate"
|
||||
"codeberg.org/u1f320/pronouns.cc/scripts/seeddb"
|
||||
"github.com/urfave/cli/v2"
|
||||
|
@ -30,6 +32,15 @@ var app = &cli.App{
|
|||
cleandb.Command,
|
||||
},
|
||||
},
|
||||
{
|
||||
Name: "generate",
|
||||
Aliases: []string{"gen"},
|
||||
Usage: "Generate various strings",
|
||||
Subcommands: []*cli.Command{
|
||||
genid.Command,
|
||||
genkey.Command,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue