setup

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SetupCmd = &cobra.Command{
	Use:                   "setup",
	Short:                 "Set up AI configuration",
	DisableFlagsInUseLine: true,
	DisableSuggestions:    true,
	Run: func(cmd *cobra.Command, args []string) {
		ctx := context.TODO()
		var cfg = &api.AppConfig{}

		if err := internal.ParseConfig(viper, cfg, args); err != nil {
			internal.Exit(ctx, err)
		}
		if err := setupConfig(cfg); err != nil {
			internal.Exit(ctx, err)
		}
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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