commands

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package commands implements all CLI commands for terminus.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute executes the root command

Types

type ArtInfo

type ArtInfo struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

ArtInfo contains information about an ASCII art piece

type CLIContext

type CLIContext struct {
	Config       *config.Config
	SessionStore *session.Store
	APIClient    *api.Client
	Output       *output.Options
}

CLIContext holds shared context for all commands

Jump to

Keyboard shortcuts

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