@nakedved/ano
Version:
Claude Code plugin for collaborative annotation and review
25 lines (24 loc) • 747 B
TypeScript
/**
* ano check command
*
* Check if a file has required approvals.
* Designed to be used as a Claude Code hook.
*
* Usage:
* ano check <file> [options]
*
* Exit codes:
* 0 = Has required approvals (or overridden)
* 1 = Missing required approvals (blocks execution)
*
* Modes:
* --soft Warn but don't block (exit 0 even if checks fail)
* --override Bypass checks with a reason (logged for audit)
*
* Examples:
* ano check plan.md # Standard check
* ano check plan.md --soft # Warn only, don't block
* ano check plan.md --override --reason "hotfix" # Bypass with reason
*/
import { Command } from 'commander';
export declare const checkCommand: Command;