commands

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package commands implements all CLI commands for terminus.

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is set at build time via ldflags

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