MCPcopy Index your code
hub / github.com/coder/coder / AGPL

Method AGPL

cli/root.go:171–179  ·  view source on GitHub ↗

AGPL returns all AGPL commands including any non-core commands that are duplicated in the Enterprise CLI.

()

Source from the content-addressed store, hash-verified

169// AGPL returns all AGPL commands including any non-core commands that are
170// duplicated in the Enterprise CLI.
171func (r *RootCmd) AGPL() []*serpent.Command {
172 all := append(
173 r.CoreSubcommands(),
174 r.Server( /* Do not import coderd here. */ nil),
175 r.Provisioners(),
176 ExperimentalCommand(r.AGPLExperimental()),
177 )
178 return all
179}
180
181// ExperimentalCommand creates an experimental command that is hidden and has
182// the given subcommands.

Callers 9

setupKeyringTestEnvFunction · 0.95
TestUseKeyringFunction · 0.95
TestCommandHelpFunction · 0.95
getRootFunction · 0.95
NewFunction · 0.95
NewWithClockFunction · 0.95
mainFunction · 0.95

Calls 5

CoreSubcommandsMethod · 0.95
ServerMethod · 0.95
ProvisionersMethod · 0.95
AGPLExperimentalMethod · 0.95
ExperimentalCommandFunction · 0.85

Tested by 6

setupKeyringTestEnvFunction · 0.76
TestUseKeyringFunction · 0.76
TestCommandHelpFunction · 0.76
getRootFunction · 0.76