createConfig consumes the global configuration flag to produce a config root.
()
| 1095 | |
| 1096 | // createConfig consumes the global configuration flag to produce a config root. |
| 1097 | func (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 |
| 1102 | func isTTYIn(inv *serpent.Invocation) bool { |
no test coverage detected