Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "eino-cli", Short: "Eino CLI tool", Long: `A command line interface for Eino`, PersistentPreRunE: func(cmd *cobra.Command, args []string) error { cfg, err := config.LoadConfig(configPath) if err != nil { return fmt.Errorf("failed to load configuration file: %w", err) } go func() { ctx := cmd.Context() if ctx == nil { ctx = context.Background() } if err := mcp.InitializeGlobalManager(ctx, cfg); err != nil { fmt.Fprintf(os.Stderr, "Failed to initialize MCP manager asynchronously: %v\n", err) } }() return nil }, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.