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

Method createConfig

cli/root.go:1097–1099  ·  view source on GitHub ↗

createConfig consumes the global configuration flag to produce a config root.

()

Source from the content-addressed store, hash-verified

1095
1096// createConfig consumes the global configuration flag to produce a config root.
1097func (r *RootCmd) createConfig() config.Root {
1098 return config.Root(r.globalConfig)
1099}
1100
1101// isTTYIn returns whether the passed invocation is having stdin read from a TTY
1102func isTTYIn(inv *serpent.Invocation) bool {

Callers 10

ServerMethod · 0.95
loginMethod · 0.95
loginTokenMethod · 0.95
ensureClientURLMethod · 0.95
TryInitClientMethod · 0.95
logoutMethod · 0.95
dotfilesMethod · 0.95
configSSHMethod · 0.95

Calls 1

RootTypeAlias · 0.92

Tested by

no test coverage detected