Expose the Analize method of yip (#548)

This only shows for a given stage what steps would be run and in which
order

Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
Itxaka
2024-09-20 10:36:09 +02:00
committed by GitHub
parent 970eb1aa72
commit bd4dce015f
5 changed files with 49 additions and 9 deletions

View File

@@ -81,3 +81,7 @@ func (ci *YipCloudInitRunner) SetModifier(m schema.Modifier) {
func (ci *YipCloudInitRunner) SetFs(fs vfs.FS) {
ci.fs = fs
}
func (ci *YipCloudInitRunner) Analyze(stage string, args ...string) {
ci.exec.Analyze(stage, vfs.OSFS, ci.console, args...)
}