mirror of
https://github.com/holos-run/holos.git
synced 2026-03-20 01:04:59 +00:00
Previously we were having to define selectors on every command that processes platform components. This patch fixes the problems by moving component selectors to the platform.Config struct. Result: Commands that process platform components need to explicity add the platform.Config.FlagSet to the command, but otherwise the configuration is consolidated and reused as we want. The holos show platform command always uses the default configuration so we don't bother adding the flags for this case.