diff options
| author | 2021-06-21 12:27:23 +0200 | |
|---|---|---|
| committer | 2021-06-21 12:27:23 +0200 | |
| commit | efbd83918137930001f7eda62ab5805a54da7a1d (patch) | |
| tree | acccb8f0650c32044e1f7769ce4b5ebb51b80f62 /cmd | |
| parent | Streaming (#49) (diff) | |
| download | gotosocial-efbd83918137930001f7eda62ab5805a54da7a1d.tar.xz | |
Testrig fixes (#50)
* testrig is runnable again
* little fixes, add some more test models
* address https://github.com/superseriousbusiness/gotosocial/issues/44
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/gotosocial/main.go | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/cmd/gotosocial/main.go b/cmd/gotosocial/main.go index 50380dd39..70152dc23 100644 --- a/cmd/gotosocial/main.go +++ b/cmd/gotosocial/main.go @@ -26,9 +26,9 @@ import ( "github.com/superseriousbusiness/gotosocial/internal/cliactions" "github.com/superseriousbusiness/gotosocial/internal/cliactions/admin/account" "github.com/superseriousbusiness/gotosocial/internal/cliactions/server" + "github.com/superseriousbusiness/gotosocial/internal/cliactions/testrig" "github.com/superseriousbusiness/gotosocial/internal/config" "github.com/superseriousbusiness/gotosocial/internal/log" - "github.com/superseriousbusiness/gotosocial/testrig" "github.com/urfave/cli/v2" ) @@ -361,19 +361,6 @@ func main() { }, }, }, - // { - // Name: "db", - // Usage: "database-related tasks and utils", - // Subcommands: []*cli.Command{ - // { - // Name: "init", - // Usage: "initialize a database with the required schema for gotosocial; has no effect & is safe to run on an already-initialized db", - // Action: func(c *cli.Context) error { - // return runAction(c, db.Initialize) - // }, - // }, - // }, - // }, { Name: "testrig", Usage: "gotosocial testrig tasks", @@ -382,7 +369,7 @@ func main() { Name: "start", Usage: "start the gotosocial testrig", Action: func(c *cli.Context) error { - return runAction(c, testrig.Run) + return runAction(c, testrig.Start) }, }, }, |
