Documentation
¶
Overview ¶
Package cli builds the archive command tree on top of the ia library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "none" Date = "unknown" )
Build metadata, set via -ldflags at release time.
Functions ¶
Types ¶
type App ¶
type App struct {
Cfg ia.Config
HTTP *ia.HTTPClient
Cache *ia.Cache
Creds *ia.Credentials
Out *Output
Limit int
// contains filtered or unexported fields
}
App carries the resolved configuration and shared clients for a command run.
type Output ¶
type Output struct {
// contains filtered or unexported fields
}
Output renders rows in the selected format. A single Output instance handles a whole command run, so streaming formats can write incrementally.
func (*Output) SetURLField ¶
SetURLField selects which column the url format emits (default "url").
Click to show internal directories.
Click to hide internal directories.