browser-debugger-cli
Version:
DevTools telemetry in your terminal. For humans and agents. Direct WebSocket to Chrome's debugging port.
26 lines • 1.05 kB
TypeScript
/**
* Behavioral metadata registry for self-documenting CLI options.
*
* Maps option flags to rich behavioral context that helps agents
* understand option effects without trial-and-error or source inspection.
*
* @see docs/principles/SELF_DOCUMENTING_SYSTEMS.md
*/
import type { OptionBehavior } from '../commands/helpJson.js';
/**
* Look up behavioral metadata for an option.
*
* @param commandName - Name of the command containing the option
* @param flags - Option flags string from Commander
* @returns Behavioral metadata if registered, undefined otherwise
*/
export declare function getOptionBehavior(commandName: string, flags: string): OptionBehavior | undefined;
/**
* Check if an option has registered behavioral metadata.
*
* @param commandName - Name of the command containing the option
* @param flags - Option flags string from Commander
* @returns True if behavior metadata exists
*/
export declare function hasOptionBehavior(commandName: string, flags: string): boolean;
//# sourceMappingURL=optionBehaviors.d.ts.map