subcommands

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DetectCmd = &cobra.Command{
	Use:   "detect",
	Short: "Detect installed agent frameworks",
	Long: "\nDetect which agent frameworks are installed on this system.\n\n" +
		"Scans for configuration files and directories of supported frameworks like Claude Code, " +
		"Continue.dev, Cline, etc.",
	PreRunE: validateDetect,
	RunE:    runDetect,
}
View Source
var HealthCmd = &cobra.Command{
	Use:   "health",
	Short: "Check health of all integrations",
	Long: "\nCheck the health status of all configured integrations.\n\n" +
		"Performs comprehensive health checks including:\n" +
		"- Configuration file accessibility\n" +
		"- Settings validity\n" +
		"- Binary path verification\n" +
		"- Integration-specific checks\n\n" +
		"This is more thorough than 'validate' and includes runtime checks.\n\n" +
		"Exit codes:\n" +
		"  0 - All checked integrations are healthy\n" +
		"  1 - One or more integrations have issues (useful for CI/CD scripts)",
	Example: `  # Check health of all integrations
  agentic-memorizer integrations health

  # Check health of specific integration
  agentic-memorizer integrations health claude-code-hook`,
	PreRunE: validateHealth,
	RunE:    runHealth,
}
View Source
var ListCmd = &cobra.Command{
	Use:   "list",
	Short: "List all available integrations",
	Long: "\nList all integrations registered in the system.\n\n" +
		"Shows the name, description, and current status (configured/not configured) of each integration.",
	PreRunE: validateList,
	RunE:    runList,
}
View Source
var RemoveCmd = &cobra.Command{
	Use:   "remove <integration-name>",
	Short: "Remove an integration",
	Long: "\nRemove integration configuration from an agent framework.\n\n" +
		"Removes hooks, tools, or other configuration entries that were added by the setup command.",
	Example: `  # Remove Claude Code integration
  agentic-memorizer integrations remove claude-code-hook`,
	Args:    cobra.ExactArgs(1),
	PreRunE: validateRemove,
	RunE:    runRemove,
}
View Source
var SetupCmd = &cobra.Command{
	Use:   "setup <integration-name>",
	Short: "Setup a specific integration",
	Long: "\nSetup integration with a specific agent framework.\n\n" +
		"Configures the framework to use agentic-memorizer for memory indexing. The setup process " +
		"varies by framework but typically involves adding hooks or tools to the framework's " +
		"configuration files.",
	Example: `  # Setup Claude Code integration
  agentic-memorizer integrations setup claude-code-hook

  # Setup with custom binary path
  agentic-memorizer integrations setup claude-code-hook --binary-path /custom/path/agentic-memorizer`,
	Args:    cobra.ExactArgs(1),
	PreRunE: validateSetup,
	RunE:    runSetup,
}
View Source
var ValidateCmd = &cobra.Command{
	Use:   "validate",
	Short: "Validate integration configurations",
	Long: "\nValidate that all configured integrations are properly set up.\n\n" +
		"Checks each integration's configuration files and settings to ensure they are valid " +
		"and properly configured for use with agentic-memorizer.",
	PreRunE: validateValidate,
	RunE:    runValidate,
}

Functions

func FindBinaryPath

func FindBinaryPath() (string, error)

FindBinaryPath attempts to locate the agentic-memorizer binary

Types

This section is empty.

Jump to

Keyboard shortcuts

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