Documentation
¶
Overview ¶
Package inbox is the f10 inbox command: the questions driven agents wait on, listed, answered, or walked in a terminal.
Index ¶
- func AnswerAsk(ctx context.Context, w io.Writer, dir, token string, values []string, ...) error
- func AsksAlias() *cli.Command
- func Command() *cli.Command
- func InboxContext(dir, stateDir, session, event, root string) []byte
- func ListAsks(ctx context.Context, w io.Writer, dir string, now time.Time, asJSON bool) error
- func WalkAsks(ctx context.Context, w io.Writer, in *bufio.Reader, dir string, d Deliverer) error
- type AskList
- type Deliverer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnswerAsk ¶
func AnswerAsk(ctx context.Context, w io.Writer, dir, token string, values []string, by string, d Deliverer) error
AnswerAsk answers token's open ask in the inbox in dir with d moving it on, served in process: the inbox command's answer for a test's inbox.
func AsksAlias ¶
AsksAlias is the inbox under its old name, hidden, for a session started before a same-version local rebuild: its hooks.json still runs f10 asks hook against the new binary. Drop it in v0.68.
func Command ¶
Command is the inbox noun: the questions driven agents wait on, listed, answered or walked in a terminal.
func InboxContext ¶
InboxContext is the hook's output: the untold open asks, outside the session's own checkout, as additional context; nothing when none.