Documentation
¶
Overview ¶
Package cli implements the skillcrew command line.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Paths paths.Paths
In io.Reader
Out, Err io.Writer
Agents []agent.Agent
Scheduler func(home string) (scheduler.Scheduler, error)
Opener propose.Opener
Executable func() (string, error)
Now func() time.Time
Version string
// LockTimeout bounds the wait for a running sync (default 30s).
LockTimeout time.Duration
// Background starts skillcrew with args detached from the caller (used by
// agent hooks, so a session start never waits for the network).
Background func(args ...string) error
Args []string // command line arguments; nil means os.Args[1:]
// contains filtered or unexported fields
}
App holds the dependencies of every command, so tests can replace them.
Click to show internal directories.
Click to hide internal directories.