git-subtree-dir: extensions/cli git-subtree-mainline:1674c2aff1git-subtree-split:e27a5c87d5
27 lines
902 B
TypeScript
27 lines
902 B
TypeScript
/**
|
|
* Base interface for command options that are shared across multiple commands
|
|
*/
|
|
export interface BaseCommandOptions {
|
|
/** Path to configuration file */
|
|
config?: string;
|
|
/** Array of rule specifications (can be file paths, hub slugs, or string content) */
|
|
rule?: string[];
|
|
/** Array of tools to allow (overrides default policies) */
|
|
allow?: string[];
|
|
/** Array of tools to ask permission for (overrides default policies) */
|
|
ask?: string[];
|
|
/** Array of tools to exclude from use (overrides default policies) */
|
|
exclude?: string[];
|
|
}
|
|
|
|
/**
|
|
* Extended base options that include verbose and tool control flags
|
|
*/
|
|
export interface ExtendedCommandOptions extends BaseCommandOptions {
|
|
/** Enable verbose logging */
|
|
verbose?: boolean;
|
|
/** Start in plan mode (backward compatibility) */
|
|
readonly?: boolean;
|
|
/** Start in auto mode (all tools allowed) */
|
|
auto?: boolean;
|
|
}
|