bust/pkg/cli/build.go

20 lines
215 B
Go
Raw Normal View History

2022-10-30 18:33:59 +01:00
package cli
import (
"github.com/spf13/cobra"
)
func Build() *cobra.Command {
cmd := &cobra.Command{
Use: "build",
}
2022-10-31 21:57:16 +01:00
cmd.AddCommand(
2022-11-06 00:39:03 +01:00
BuildRustBin(),
2022-10-31 21:57:16 +01:00
BuildGolangBin(),
BuildDocker(),
)
2022-10-30 18:33:59 +01:00
return cmd
}