Documentation
¶
Overview ¶
Package tui is the human, terminal-only front end to Talento's authenticated app sessions. It neither shells out to CLI commands nor interprets server text.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Profile string
Stdin io.Reader
Stdout io.Writer
Profiles func() ([]string, error)
OpenSession func(context.Context, string) (app.Session, error)
Login func(context.Context, string, func(string)) error
}
Options contains the process-local adapters provided by the command layer. Selecting a profile does not change the persisted default. Login is invoked only after the user chooses Sign in; its callback displays the OAuth URL.
Click to show internal directories.
Click to hide internal directories.