Documentation ¶
Index ¶
- Constants
- Variables
- func DumpEnv()
- func DumpValidator() error
- func FileExists(filename string) bool
- func InitCli()
- func InitFile() error
- func Log(i int, task string, stream string, b string)
- func Prepare() error
- func RecursiveZip(i int, pathToZip, destinationPath string) error
- func ResolveConfig() (err error)
- func Run() error
- func RunMkCmd(i int, line string) error
- func RunTask(name string, t *MkTask, l int) error
- func Ver(end bool)
- type MkModel
- type MkTask
Constants ¶
View Source
const ( CMD_ZIP = "zip" CMD_PACK = "pack" )
Variables ¶
View Source
var CLI = struct { File string `help:"File to be used - Defaults are: .mk.yaml, .mk, mk, mk.yaml" short:"f"` Init bool `help:"Creates a new empty file (default is .mk.yaml in case no filename is provided)" short:"i"` Tasks []string `arg:"" help:"Tasks to be run - Default is main." default:"."` Ver bool `help:"Prints version and exit" short:"v"` List bool `help:"Check file and print tasks" short:"l"` Dbg bool `help:"Debugs execution" short:"d"` DumpValidator bool `help:"Dumps Validator JSON File" default:"false"` Env bool `help:"Dumps env and vars" default:"false" short:"e"` }{}
Functions ¶
func DumpValidator ¶
func DumpValidator() error
func FileExists ¶
func RecursiveZip ¶
func ResolveConfig ¶
func ResolveConfig() (err error)
Types ¶
Click to show internal directories.
Click to hide internal directories.