setup

package
v1.210.0-test.27 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAI

func InitAI(atmosConfig *schema.AtmosConfiguration) (*analyze.Context, error)

InitAI parses AI flags from os.Args, validates configuration, and starts output capture. Returns a ready-to-use Context or an error if validation fails. The caller MUST call ctx.Cleanup() (via defer) to restore stdout/stderr.

func IsAISubcommand

func IsAISubcommand(cmd *cobra.Command) bool

IsAISubcommand checks whether cmd is the "atmos ai" subcommand (or one of its children). Used after Cobra execution to skip AI analysis for AI commands (avoid double processing).

Types

This section is empty.

Jump to

Keyboard shortcuts

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