MCPcopy Create free account
hub / github.com/basecamp/hey-cli / newConfigCommand

Function newConfigCommand

internal/cmd/config.go:15–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13)
14
15type configCommand struct {
16 cmd *cobra.Command
17}
18
19func newConfigCommand() *configCommand {
20 configCommand := &configCommand{}
21 configCommand.cmd = &cobra.Command{
22 Use: "config",
23 Short: "View and change settings",
24 }
25
26 configCommand.cmd.AddCommand(newConfigShowCommand())
27 configCommand.cmd.AddCommand(newConfigSetCommand())
28 configCommand.cmd.AddCommand(newConfigTrustLocalCommand())
29 configCommand.cmd.AddCommand(newConfigUntrustLocalCommand())

Callers 1

newRootCmdFunction · 0.85

Calls 2

newConfigShowCommandFunction · 0.85
newConfigSetCommandFunction · 0.85

Tested by

no test coverage detected