Skip to content

Commit

Permalink
bump zero
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmueller committed Apr 17, 2023
1 parent 3428a21 commit 76d9b24
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 1,343 deletions.
2 changes: 1 addition & 1 deletion example/zero/generator/app/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,5 +123,5 @@ func run(log log.Log, loadCLI loadCLI) error {
return err
}
ctx := context.Background()
return cli.Parse(ctx, os.Args[1:])
return cli.Parse(ctx, os.Args[1:]...)
}
2 changes: 1 addition & 1 deletion example/zero/generator/command/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (g *Generator) generateFile(fsys generator.FS, file *generator.File) error
////////////////////////////////////////////////

func New(name string) *CLI {
return commander.New(name)
return commander.New(name, "zero app")
}

// Go starts a group of commands in goroutines and waits for them to finish
Expand Down
2 changes: 1 addition & 1 deletion example/zero/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/livebud/bud v0.0.0-00010101000000-000000000000
github.com/matryer/is v1.4.0
github.com/yuin/goldmark v1.5.4
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
golang.org/x/sync v0.1.0
)

require (
Expand Down
2 changes: 2 additions & 0 deletions example/zero/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 h1:6zppjxzCulZykYSLyVD
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a h1:dGzPydgVsqGcTRVwiLJ1jVbufYwmzD3LfVPLKsKg+0k=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/tools v0.1.11-0.20220513221640-090b14e8501f h1:OKYpQQVE3DKSc3r3zHVzq46vq5YH7x8xpR3/k9ixmUg=
Expand Down
102 changes: 0 additions & 102 deletions package/commander/commander.go

This file was deleted.

Loading

0 comments on commit 76d9b24

Please sign in to comment.