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 ¶
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.
Click to show internal directories.
Click to hide internal directories.