diff --git a/go.mod b/go.mod index 6ec86ce..9cde1e5 100644 --- a/go.mod +++ b/go.mod @@ -10,6 +10,7 @@ require ( github.com/stretchr/testify v1.9.0 github.com/urfave/cli/v2 v2.27.2 golang.org/x/net v0.24.0 + golang.org/x/sys v0.19.0 ) require ( @@ -29,6 +30,5 @@ require ( github.com/spf13/cast v1.3.1 // indirect github.com/xrash/smetrics v0.0.0-20240312152122-5f08fbb34913 // indirect golang.org/x/crypto v0.22.0 // indirect - golang.org/x/sys v0.19.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/types/command.go b/types/command.go new file mode 100644 index 0000000..2e6ba95 --- /dev/null +++ b/types/command.go @@ -0,0 +1,8 @@ +package types + +import "golang.org/x/sys/execabs" + +type Cmd struct { + *execabs.Cmd + Private bool +}