compose-cli/api/config
Yves Brissaud 8371dab4ae
ref: use `plugins` part of config file
To avoid any conflict with the CLI, use the `plugins` section of the
config. This section is read and saved by the CLI without the risk to
remove the value in there. So it's a safe way to deal with this feature.

As it's a cross plugin configuration (now for scout but goal is wider
than that) then put it under a generic `-x-cli-hints` name so that other
plugins might use it if needed.

Value can be true/false, but is parsed against these exact two values
instead of using the ParseBool.

Both the environment variable and the config value are parsed the same
way.

Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2023-06-13 10:19:22 +02:00
..
config.go ref: use `plugins` part of config file 2023-06-13 10:19:22 +02:00
config_test.go lint: update for Go 1.19 / golangci-lint 1.50.1 2023-02-01 16:04:49 -05:00
keys.go Move config => api/config 2021-01-15 16:55:10 +01:00