MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / isEnabled

Method isEnabled

modules/clibridge/clibridge.go:94–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92}
93
94func (m *CLIBridgeModule) isEnabled() bool {
95 v := m.plug.Config.Get(`Enabled`)
96 if b, ok := v.(bool); ok {
97 return b
98 }
99 return true
100}
101
102func (m *CLIBridgeModule) getAllowedTools() []string {
103 lc := m.loadListConfig()

Callers 2

apiGetConfigMethod · 0.95
cliCommandMethod · 0.95

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected