Documentation
¶
Overview ¶
Package cli implements the ka command line (PRD §14). Every read command supports --json; writes print one line per change.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "dev"
Version is set by the main package.
Functions ¶
Types ¶
type IO ¶
type IO struct {
In io.Reader
Out, Err io.Writer
Dir string // working directory (default: cwd)
// Interactive makes commands prompt for missing arguments even when
// stdin is not a terminal (tests).
Interactive bool
// contains filtered or unexported fields
}
IO bundles the streams a command uses.
Click to show internal directories.
Click to hide internal directories.