Documentation ¶ Index ¶ func AddWorkDirFlag(cmd *cobra.Command) func GetWorkingDir(cmd *cobra.Command) (string, error) func WrapError(err error) error type Error func (e *Error) Error() string func (e *Error) Unwrap() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AddWorkDirFlag ¶ func AddWorkDirFlag(cmd *cobra.Command) func GetWorkingDir ¶ func GetWorkingDir(cmd *cobra.Command) (string, error) func WrapError ¶ func WrapError(err error) error Types ¶ type Error ¶ type Error struct { Inner error Msg string } func (*Error) Error ¶ func (e *Error) Error() string func (*Error) Unwrap ¶ func (e *Error) Unwrap() error Source Files ¶ View all Source files error.go workdir.go Click to show internal directories. Click to hide internal directories.