hook

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package hook implements the "ctx hook" command for generating AI tool integration configurations.

The hook command outputs configuration snippets and instructions for integrating Context with various AI coding tools including Claude Code, Cursor, Aider, GitHub Copilot, and Windsurf.

File Organization

  • hook.go: Command definition
  • run.go: Tool-specific integration output logic

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the "ctx hook" command for generating AI tool integrations.

The command outputs configuration snippets and instructions for integrating Context with various AI coding tools like Claude Code, Cursor, Aider, etc.

Returns:

  • *cobra.Command: Configured hook command that accepts a tool name argument

Types

This section is empty.

Jump to

Keyboard shortcuts

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