cmd

package
v0.0.0-...-9e42fec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(name string, arg ...string) *exec.Cmd

func Commands

func Commands(cmds ...*exec.Cmd) error

执行一组命令行

func Compile

func Compile(main, out string, arg ...string) (err error)

Compile 编译 go 代码

main 为源码目录; out 为输出文件; arg 为其它参数;

func Copy

func Copy(src, dest string) error

Copy 复制文件

如果 dest 为目录,则会将 src 文件作为其下的子文件; 如果 src 为目录,则返回错误;

func Move

func Move(src, dest string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL