Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadRuntimeConfig ¶
ReadRuntimeConfig reads and parses a runtime configuration file
func ResolveAppName ¶
ResolveAppName resolves the app name using the priority order: 1. appFlag (--app) if provided 2. configPath (--config) if provided 3. runtime.config.json in current directory if it exists Returns an error if no app name can be resolved
Types ¶
type RuntimeConfig ¶
type RuntimeConfig struct {
App string `json:"app"`
}
RuntimeConfig represents the structure of the runtime configuration file