cmd

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: MIT Imports: 44 Imported by: 0

Documentation

Overview

Package cmd wires the cobra commands. Each command file holds wiring only; real logic lives in internal/*.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the root command and maps errors to exit codes.

Types

type App

type App struct {
	P        *output.Printer
	Client   *api.Client
	Endpoint string
	Web      string
	Profile  string
	Handle   string // from stored creds (may be empty)
	HasToken bool
}

App bundles the resolved printer + API client for a command run.

Directories

Path Synopsis
Command loradex is the CLI for the loradex platform ("Git for LoRAs").
Command loradex is the CLI for the loradex platform ("Git for LoRAs").

Jump to

Keyboard shortcuts

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