MCPcopy Create free account
hub / github.com/anchordotdev/cli / UIer

Interface UIer

cmd.go:249–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247var constructorByCommands = map[*cobra.Command]func() *cobra.Command{}
248
249type UIer interface {
250 UI() UI
251}
252
253func NewCmd[T UIer](parent *cobra.Command, name string, fn func(*cobra.Command)) *cobra.Command {
254 var def, parentDef *CmdDef

Callers 2

NewCmdFunction · 0.65
TestAuditFunction · 0.65

Implementers 15

ShowHelproot.go
ErrorCommandcli_test.go
PanicCommandcli_test.go
Cleantrust/clean.go
Commandtrust/trust.go
Audittrust/audit.go
SignInauth/signin.go
WhoAmIauth/whoami.go
SignOutauth/signout.go
configViaCommandcomponent/config_via_test.go
Setuplcl/setup.go
Commandlcl/lcl.go

Calls

no outgoing calls

Tested by

no test coverage detected