commands

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT Imports: 26 Imported by: 0

Documentation

Overview

Package commands implements the omniagent CLI commands.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute runs the root command.

func RegisterAgentOption added in v0.6.0

func RegisterAgentOption(opt agent.Option)

RegisterAgentOption registers an agent option to be applied when creating the agent. This allows external packages (like grokify-omniagent) to inject compiled skills and other configuration before calling Execute().

Example:

commands.RegisterAgentOption(agent.WithCompiledSkill(investSkill))
commands.RegisterAgentOption(agent.WithStorage(sqliteStorage))
commands.Execute()

Types

This section is empty.

Jump to

Keyboard shortcuts

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