cmd

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAiCli

func NewAiCli() *cobra.Command

Types

type AiCliOptions

type AiCliOptions struct {
	Version bool
}

func NewAiCliOptions

func NewAiCliOptions() *AiCliOptions

func (*AiCliOptions) Complete

func (o *AiCliOptions) Complete(_ *cobra.Command, _ []string) error

Complete fills in any missing information by gathering data from flags, environment, or other sources It converts user input into a usable configuration

func (*AiCliOptions) Run

func (o *AiCliOptions) Run(cmd *cobra.Command) error

Run executes the main logic of the command once its complete and validated

func (*AiCliOptions) Validate

func (o *AiCliOptions) Validate() error

Validate ensures that all required arguments and flag values are provided

Jump to

Keyboard shortcuts

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