mirror of
https://github.com/moby/buildkit.git
synced 2026-11-06 05:16:45 +00:00
14 lines
212 B
Go
14 lines
212 B
Go
package debug
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/urfave/cli/v3"
|
|
)
|
|
|
|
func commandAction(fn func(*cli.Command) error) cli.ActionFunc {
|
|
return func(_ context.Context, cmd *cli.Command) error {
|
|
return fn(cmd)
|
|
}
|
|
}
|