MCPcopy Create free account
hub / github.com/coder/coder / resetPassword

Method resetPassword

cli/resetpassword_slim.go:7–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5import "github.com/coder/serpent"
6
7func (*RootCmd) resetPassword() *serpent.Command {
8 root := &serpent.Command{
9 Use: "reset-password <username>",
10 Short: "Directly connect to the database to reset a user's password",
11 // We accept RawArgs so all commands and flags are accepted.
12 RawArgs: true,
13 Hidden: true,
14 Handler: func(inv *serpent.Invocation) error {
15 SlimUnsupported(inv.Stderr, "reset-password")
16 return nil
17 },
18 }
19
20 return root
21}

Callers

nothing calls this directly

Calls 1

SlimUnsupportedFunction · 0.85

Tested by

no test coverage detected