asks

package
v0.63.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 30 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package asks is the f10 asks command: the questions driven agents wait on, listed, answered, or walked in a terminal.

Index

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 asks command's answer for a test's inbox.

func AsksContext

func AsksContext(dir, stateDir, session, event, root string) []byte

AsksContext is the hook's output: the untold open asks, outside the session's own checkout, as additional context; nothing when none.

func Command

func Command() *cli.Command

Command is the asks noun: the questions driven agents wait on, listed, answered or walked in a terminal.

func ListAsks

func ListAsks(ctx context.Context, w io.Writer, dir string, now time.Time, asJSON bool) error

ListAsks prints the inbox in dir, served in process: the asks command's list for a test's inbox.

func WalkAsks

func WalkAsks(ctx context.Context, w io.Writer, in *bufio.Reader, dir string, d Deliverer) error

WalkAsks walks the inbox in dir with d moving answers on, served in process: the asks command's walk for a test's inbox.

Types

type AskList

type AskList struct {
	Open     []askView `json:"open"`
	Answered []askView `json:"answered"`
}

type Deliverer

type Deliverer = agents.Deliverer

A Deliverer moves a claimed answer on (agents.Deliverer).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL