Update DAG with dependencies (#1477)

* Add show-dag command

Signed-off-by: vlpav030 <vpav.030@gmail.com>
This commit is contained in:
Vladan Pavlovic
2024-04-27 07:37:28 +08:00
committed by GitHub
parent ee8cee5422
commit dc20eb10c5
8 changed files with 389 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
package config
// ShowDAGOptions is the options for the build command
type ShowDAGOptions struct {
}
// NewShowDAGOptions creates a new ShowDAGOptions
func NewShowDAGOptions() *ShowDAGOptions {
return &ShowDAGOptions{}
}
// ShowDAGImpl is impl for applyOptions
type ShowDAGImpl struct {
*GlobalImpl
*ShowDAGOptions
}
// NewShowDAGImpl creates a new ShowDAGImpl
func NewShowDAGImpl(g *GlobalImpl, b *ShowDAGOptions) *ShowDAGImpl {
return &ShowDAGImpl{
GlobalImpl: g,
ShowDAGOptions: b,
}
}