API Reference claude v#0.1.0

Modules

Opinionated Claude Code integration for Elixir projects.

Main CLI entry point for Claude commands. Supports nested command structure for extensibility.

Displays help information for Claude CLI commands.

Handles hooks-related CLI commands.

Handles the installation of Claude Code hooks.

Handles dynamic hook execution. This is called by Claude Code hooks, not directly by users.

Handles the uninstallation of Claude Code hooks.

Project detection and information utilities. Provides common functionality for working with Elixir projects.

Generic settings management for Claude configuration files. Handles JSON-based settings that can be used by any feature.

Core hooks functionality including registry and installation.

Struct representing a Claude Code hook configuration.

Behaviour for implementing Claude Code hooks.

Checks for compilation errors after Claude Code edits Elixir files.

Checks if Elixir files need formatting after Claude Code edits them.

Pre-commit hook that validates formatting and compilation before allowing commits.

Shell output utilities for consistent CLI formatting.

Mix Tasks

Entry point for Claude mix tasks. Delegates to the CLI module for command processing.

Convenience task to quickly install Claude hooks for your Elixir project.

Convenience task to quickly uninstall Claude hooks from your Elixir project.