commands

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package commands contains functions that are exposed as dedicated commands of the tool.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunCommand

type RunCommand struct {
	Storage     string `name:"storage" help:"The storage file." type:"file" default:"storage.yml" env:"CHEERGO_STORAGE"`
	ShoutrrrURL string `name:"shoutrrr-url" help:"The URL for Shoutrrr." required:"true" env:"CHEERGO_SHOUTRRR_URL"`
	GitHubUser  string `name:"github-user" help:"The name of the user to monitor." required:"true" env:"CHEERGO_GITHUB_USER"`
	LLMApiKey   string `` /* 142-byte string literal not displayed */
	LLMBaseURL  string `name:"llm-base-url" help:"Base URL for LLM API." default:"https://openrouter.ai/api/v1" env:"CHEERGO_LLM_BASE_URL"`
	LLMModel    string `name:"llm-model" help:"LLM model to use." default:"google/gemini-2.5-flash" env:"CHEERGO_LLM_MODEL"`
}

RunCommand represents the run subcommand.

func (*RunCommand) Run

func (cmd *RunCommand) Run() error

Run executes the main logic of the application.

type VersionCommand

type VersionCommand struct{}

VersionCommand represents the options specific to the version command.

func (*VersionCommand) Run

func (*VersionCommand) Run() error

Run is the function for the version command.

Jump to

Keyboard shortcuts

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