cli

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Root = &cobra.Command{
	Use:   "vger",
	Short: "V'Ger — conference video knowledge assimilation system",
	Long: `V'Ger ingests online conference videos (KubeCon, CloudNativeCon, etc.)
and produces structured summaries with technology learning recommendations.`,
	PersistentPreRun: func(cmd *cobra.Command, args []string) {

		n := cmd.Name()
		if n == "__complete" || n == "__completeNoDesc" ||
			(cmd.HasParent() && cmd.Parent().Name() == "completion") {
			return
		}

		if geminiAPIKey == "" {
			geminiAPIKey = os.Getenv("GEMINI_API_KEY")
		}
		if youtubeAPIKey == "" {
			youtubeAPIKey = os.Getenv("YOUTUBE_API_KEY")
		}

		if cfg, err := config.Load(); err == nil {
			userContext = cfg.UserContext
		}
		ui.Header()
	},
}

Root is the top-level cobra command.

Functions

This section is empty.

Types

type Lens added in v0.6.2

type Lens struct {
	Name            string
	ShortDesc       string
	RoleContext     string
	DefaultQuestion string
}

Lens is a named analytical preset for the ask command. It injects a role context and a default question so the user doesn't need to retype the same verbose prompt every time they want a standard type of analysis.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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