v0.3.1 background mode fixed, bug fixes and refactoring

This commit is contained in:
2025-07-12 20:30:47 -04:00
parent 58d33d7872
commit e31591ac8d
9 changed files with 193 additions and 353 deletions

View File

@ -2,10 +2,23 @@
package config
type Config struct {
// Logging configuration
Logging *LogConfig `toml:"logging"`
// Top-level flags for application control
UseRouter bool `toml:"router"`
Background bool `toml:"background"`
ShowVersion bool `toml:"version"`
Quiet bool `toml:"quiet"`
// Pipeline configurations
// Runtime behavior flags
DisableStatusReporter bool `toml:"disable_status_reporter"`
// Internal flag indicating demonized child process
BackgroundDaemon bool `toml:"background-daemon"`
// Configuration file path
ConfigFile string `toml:"config"`
// Existing fields
Logging *LogConfig `toml:"logging"`
Pipelines []PipelineConfig `toml:"pipelines"`
}