with actual cli

This commit is contained in:
2022-10-30 18:33:59 +01:00
parent 2b641df577
commit 18f7e1fc27
10 changed files with 107 additions and 66 deletions

View File

@@ -1,13 +1,12 @@
package pipelines
import (
"context"
"log"
"git.front.kjuulh.io/kjuulh/byg"
)
func (p *Pipeline) WithDefault() error {
func (p *Pipeline) WithDefault() *byg.Builder {
return byg.
New().
Step(
@@ -17,7 +16,5 @@ func (p *Pipeline) WithDefault() error {
log.Println("Hello, world!")
return nil
},
}).
Execute(context.Background())
})
}