@shutootaki/gwm
Version:
git worktree manager CLI
18 lines • 714 B
TypeScript
/**
* __complete の本体(候補生成)
* シェル補完から呼び出される
*/
import type { ShellType } from '../types.js';
/**
* 候補を生成
* @param tokens トークン列(gwm 自体は除く)
* @param cword 現在補完中のトークンインデックス
* @param shell シェルの種類
* @returns 候補文字列(1行1候補、タブ区切りで説明)
*/
export declare function generateCandidates(tokens: string[], cword: number, shell: ShellType): Promise<string>;
/**
* __complete コマンドのエントリーポイント
*/
export declare function runComplete(shell: ShellType, cword: number, tokens: string[]): Promise<void>;
//# sourceMappingURL=complete.d.ts.map