commands

package
v0.3.35 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Argument

type Argument struct {
	// ID is the unique identifier for the argument
	ID string
	// Title is the human-readable name of the argument
	Title string
	// Description is a brief description of the argument
	Description string
	// Required indicates whether the argument is required
	Required bool
}

Argument represents a command argument with its metadata.

type CustomCommand

type CustomCommand struct {
	// ID is the unique identifier for the command
	ID string
	// Name is the human-readable name of the command
	Name string
	// Content is the command content as a string
	Content string
	// Arguments is a list of arguments for the command
	Arguments []Argument
}

CustomCommand represents a user-defined custom command loaded from markdown files.

Jump to

Keyboard shortcuts

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