Documentation
¶
Index ¶
- Variables
- func ChangeDirectory(args ...string) error
- func Echo(w io.Writer, args ...string) error
- func EnvironmentVariables(w io.Writer, args ...string) error
- func ListDirectory(w io.Writer, args ...string) error
- func MakeDirectory(args ...string) error
- func PrintWorkingDirectory(w io.Writer) error
- func WhoAmI(w io.Writer) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidArgCount = errors.New("invalid argument count") HomeDir, _ = os.UserHomeDir() )
Functions ¶
func ChangeDirectory ¶
func ListDirectory ¶
ListDirectory lists the files and directories in the specified directory.
func MakeDirectory ¶
MakeDirectory creates a new directory with the specified name.
func PrintWorkingDirectory ¶
PrintWorkingDirectory prints the current working directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.