cli/command: Cli: embed config.Provider interface
Makes sure we implement that interface, and don't diverge. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
8dcde50b6e
commit
4be2ddedd3
@ -46,7 +46,7 @@ type Cli interface {
|
|||||||
Streams
|
Streams
|
||||||
SetIn(in *streams.In)
|
SetIn(in *streams.In)
|
||||||
Apply(ops ...CLIOption) error
|
Apply(ops ...CLIOption) error
|
||||||
ConfigFile() *configfile.ConfigFile
|
config.Provider
|
||||||
ServerInfo() ServerInfo
|
ServerInfo() ServerInfo
|
||||||
DefaultVersion() string
|
DefaultVersion() string
|
||||||
CurrentVersion() string
|
CurrentVersion() string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user