package
0.20.2
Repository: https://github.com/magoo/cmd.git
Documentation: pkg.go.dev

# Functions

Initialize the command based on the GO environment.
Return true if the target string is in the list.
copyDir copies a directory tree over to a new directory.
Copy file returns error.
DirExists returns true if the given path exists and is a directory.
empty returns true if the given directory is empty.
Return true if the file exists.
Find the full source dir for the import path, uses the build.Default.GOPATH to search for the directory.
GenerateTemplate renders the given template to produce source code, which it writes to the given file.
Returns an environment variable.
No description provided by the author
No description provided by the author
MustReadLines reads the lines of the given file.
Returns a new builed error.
Returns a new BuildError if err is not nil.
No description provided by the author
Called if panic.
ReadLines reads the lines of the given file.
Given the target path and source path and data.
Given the target path and source path and data.
This function is to throw a panic that may be caught by the packger so it can perform the needed imports.
Tar gz the folder.
Shortcut to fsWalk.

# Variables

No description provided by the author

# Structs

No description provided by the author
The error is a wrapper for the.
No description provided by the author
The error is a wrapper for the.