postCommand

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DryRun = false

DryRun set dryrun mode. Commands will be printed and not run

Functions

func ChangeDir

func ChangeDir(dirPath string)

ChangeDir sets the directory to cd to after command exits

func RunCommand

func RunCommand(command string)

RunCommand adds a command to the list of commands that will run after it program exists

func Write

func Write()

Write writes to the file descriptor

Types

This section is empty.

Jump to

Keyboard shortcuts

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