Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { GlobalFile string // Location of the global task list CurrentWorkDir string // Path where the program was executed from CurrentGlobal bool // If the current command is global or local CliOutput *Writer // Where the application will output when writing to the console (stdout/stderr) CurrentFile *bufio.ReadWriter // File we're currently working with, need to read and write to it }
func NewApplication ¶
func NewApplication() *Application
NewApplication returns a struct containing settings we want to access across the entire program
type Writer ¶
func NewStdOutput ¶
func NewStdOutput() *Writer
NewStdOutput returns an CliOutput with stdout and stderr has its main outputs
func NewTestOutput ¶
NewTestOutput returns an CliOutput that can be used for testing. It also provides a bytes buffer for stdout and stderr
Click to show internal directories.
Click to hide internal directories.