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:
Sebastiaan van Stijn 2025-03-05 12:05:56 +01:00
parent 8dcde50b6e
commit 4be2ddedd3
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C

View File

@ -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