tuicmd

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 32 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 tuicmd implements the `tui` command — the interactive, full-screen trading terminal (the human sibling of monitor). It runs against the clienv.Cmd seam so cli dispatches into it without it importing cli.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cx *clienv.Cmd, cmd *cobra.Command, args []string, tuiRun func(tui.Config) error) error

Run resolves config/key/URLs, starts a stream session, and hands its events to the tui package. Order placement/cancellation run through tuiTrader — the same validated, journaled ops path as `order place`/`order cancel`. tuiRun is the interactive renderer (the Deps.TUIRun test seam; nil = the real tui.Run, which needs a TTY) — passed in rather than crossing clienv, since its tui.Config signature would drag the charm dependency into the seam.

Types

This section is empty.

Jump to

Keyboard shortcuts

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