Documentation
¶
Overview ¶
Package cli wires the taiga command tree.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Version is set at build time with -ldflags "-X github.com/BasisTI/taiga-cli/internal/cli.Version=...".
Functions ¶
Types ¶
type App ¶
type App struct {
In io.Reader
Out io.Writer
Err io.Writer
Env func(string) string
OutTTY bool
// Cwd is the working directory used to find .taiga.toml; empty means os.Getwd().
Cwd string
// HTTP overrides the HTTP client; nil means a client with httpTimeout.
HTTP *http.Client
// TokenSource builds the credentials for a run; nil means the auth resolver.
TokenSource func(context.Context, *RunContext) (taiga.TokenSource, error)
// contains filtered or unexported fields
}
App carries the process I/O and environment so commands are testable.
Click to show internal directories.
Click to hide internal directories.