package
5.0.1+incompatible
Repository: https://github.com/gphotosuploader/gphotos-uploader-cli.git
Documentation: pkg.go.dev

# Functions

Fatal outputs the errorMsg and exits with status exitCode.
FatalError outputs the error and exits with status exitCode.
FatalResult outputs the result and exits with status exitCode.
InputUserField prompts the user to input the provided user field.
NewTaskProgressBar returns a progress bar for tasks that outputs to the terminal.
Print behaves like fmt.Print but writes on the out writer and adds a newline.
Printf behaves like fmt.Printf but writes on the out writer and adds a newline.
PrintResult is a convenient wrapper to provide feedback for complex data.
SetErr can be used to change the err writer at runtime.
SetOut can be used to change the out writer at runtime.
Warning outputs a warning message.
No description provided by the author

# Constants

ErrBadArgument is returned when the arguments are not valid (7).
ErrCoreConfig represents an error in the cli core config, for example, some basic files shipped with the installation are missing, or cannot create or get basic directories vital for the CLI to work.
ErrGeneric Generic error (1 is the reserved "catchall" code in Unix).
ErrNetwork is returned when a network error occurs (5).
ErrNoConfigFile is returned when the config file is not found (3).
Success (0 is the no-error return code in Unix).

# Structs

Progress is a progress bar to show the status of a task.

# Interfaces

ErrorResult is a result embedding also an error.
Result is anything more complex than a sentence that needs to be printed for the user.

# Type aliases

ExitCode to be used for Fatal.