v0.30.0 lw --tui, compose pipeline on screen

This commit is contained in:
lixen committed 2026-10-09 19:30:50 -04:00
1 parent 2d72772943
commit 883af0fcaa
20 files changed
+2442 -69

No files matched your search

+7
View File
@@ -94,6 +94,13 @@ func Load(args Args) (*Manager, error) {
return m, nil
}
// BuiltIn reports whether the pipelines are lw's built-in pipe: no file, flag
// or variable defined one
func (m *Manager) BuiltIn() bool {
_, inFile := m.config.GetSource("pipelines", lconfig.SourceFile)
return !inFile && len(m.specs) == 0
}
// Snapshot validates a detached candidate before it is used to build a service.
// Builder validators only run during Load, so every reload needs this check too.
func (m *Manager) Snapshot() (*Config, error) {