Documentation
¶
Index ¶
- func CmdKill(cmd *exec.Cmd) error
- func ExecCommandInDir(dir, cmdName string, args ...string) error
- func FileCreateFromTemplate(path, tmplName string, data ...any) error
- func FileGomodRead(target string) (*modfile.Module, error)
- func FileWriteAfterMarker(target, marker, content string) error
- func NewCommandInDir(dir, cmdName string, args ...string) *exec.Cmd
- func NewCommandWithCtx(ctx context.Context, cmdName string, args ...string) *exec.Cmd
- func PathJoinCWD(file string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecCommandInDir ¶
func FileCreateFromTemplate ¶
func FileWriteAfterMarker ¶
func NewCommandWithCtx ¶
func PathJoinCWD ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.