#!/usr/bin/env node /** * Unified rill CLI entry point. * Parses argv[0] as the subcommand name and dispatches to the matching handler. * With no subcommand, prints UXT-EXT-11 help and exits 0. * * Constraints: * - Dispatch overhead < 100ms before subcommand body executes (NFR-EXT-5). * - `rill help ` and `rill --help` produce equivalent output (FR-EXT-8). * - Unknown subcommand: exit 1, error message names the subcommand, prints help hint. */ /** * Unified rill CLI entry point. * @param argv - Raw command-line arguments (typically process.argv.slice(2)) * @returns Exit code (0 = success, 1 = error) */ export declare function main(argv: string[]): Promise;