diff options
| author | 2025-08-13 12:24:40 +0200 | |
|---|---|---|
| committer | 2025-08-13 12:24:40 +0200 | |
| commit | 7f8cb204cd5a58eb143ab20a21bfa32bd8c3c26b (patch) | |
| tree | e8a10032b73bd1c60df5c8e8fdf7817410d67e1a /cmd/gotosocial/testrig.go | |
| parent | [chore] bump to code.superseriousbusiness.org/oauth2/v4@ssb-v4.5.3-2 (#4367) (diff) | |
| download | gotosocial-7f8cb204cd5a58eb143ab20a21bfa32bd8c3c26b.tar.xz | |
[feature] 2fa management via CLI (#4368)
Adds 2FA management to the admin CLI. Also does some CLI refactoring so the functions we pass around are exported functions instead of changeable global variables.
closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4320
Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4368
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
Diffstat (limited to 'cmd/gotosocial/testrig.go')
| -rw-r--r-- | cmd/gotosocial/testrig.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/gotosocial/testrig.go b/cmd/gotosocial/testrig.go index 55498243b..4c3d75b3a 100644 --- a/cmd/gotosocial/testrig.go +++ b/cmd/gotosocial/testrig.go @@ -20,11 +20,12 @@ package main import ( "code.superseriousbusiness.org/gotosocial/cmd/gotosocial/action/testrig" "code.superseriousbusiness.org/gotosocial/internal/config" + "codeberg.org/gruf/go-debug" "github.com/spf13/cobra" ) func testrigCommands() *cobra.Command { - if testrig.Start != nil { + if debug.DEBUG { testrigCmd := &cobra.Command{ Use: "testrig", Short: "gotosocial testrig-related tasks", |
