MCPcopy Index your code
hub / github.com/jetify-com/devbox / authCmd

Function authCmd

internal/boxcli/auth.go:21–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19)
20
21func authCmd() *cobra.Command {
22 cmd := &cobra.Command{
23 Use: "auth",
24 Short: "Devbox auth commands",
25 }
26
27 cmd.AddCommand(loginCmd())
28 cmd.AddCommand(logoutCmd())
29 cmd.AddCommand(whoAmICmd())
30 cmd.AddCommand(authNewTokenCommand())
31
32 return cmd
33}
34
35func loginCmd() *cobra.Command {
36 cmd := &cobra.Command{

Callers 1

RootCmdFunction · 0.85

Calls 4

loginCmdFunction · 0.85
logoutCmdFunction · 0.85
whoAmICmdFunction · 0.85
authNewTokenCommandFunction · 0.85

Tested by

no test coverage detected