commit
85df0f4573
|
@ -0,0 +1,14 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/tonistiigi/buildkit_poc/cmd/buildctl/debug"
|
||||
"github.com/urfave/cli"
|
||||
)
|
||||
|
||||
var debugCommand = cli.Command{
|
||||
Name: "debug",
|
||||
Usage: "debug utilities",
|
||||
Subcommands: []cli.Command{
|
||||
debug.DumpCommand,
|
||||
},
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
package main
|
||||
package debug
|
||||
|
||||
import (
|
||||
"io"
|
||||
|
@ -13,7 +13,7 @@ import (
|
|||
"github.com/urfave/cli"
|
||||
)
|
||||
|
||||
var dumpCommand = cli.Command{
|
||||
var DumpCommand = cli.Command{
|
||||
Name: "dump",
|
||||
Usage: "dump LLB in human-readable format. LLB must be passed via stdin. This command does not require the daemon to be running.",
|
||||
Action: dumpLLB,
|
|
@ -29,7 +29,7 @@ func main() {
|
|||
app.Commands = []cli.Command{
|
||||
diskUsageCommand,
|
||||
buildCommand,
|
||||
dumpCommand,
|
||||
debugCommand,
|
||||
}
|
||||
|
||||
app.Before = func(context *cli.Context) error {
|
||||
|
|
Loading…
Reference in New Issue