@shutootaki/gwm
Version:
git worktree manager CLI
22 lines • 814 B
TypeScript
/**
* 補完定義の単一ソース(Single Source of Truth)
* 全てのコマンド、オプション、引数の定義を集約
*/
import type { CompletionDefinition } from './types.js';
/**
* gwm の補完定義
*/
export declare const completionDefinition: CompletionDefinition;
/**
* 全てのコマンド名(別名含む)を取得
*/
export declare function getAllCommandNames(): string[];
/**
* コマンド名からコマンド定義を取得
*/
export declare function findCommand(name: string): import('./types.js').CompletionCommand | undefined;
/**
* サブコマンドを検索
*/
export declare function findSubcommand(parentCommand: import('./types.js').CompletionCommand, name: string): import('./types.js').CompletionCommand | undefined;
//# sourceMappingURL=definition.d.ts.map