microsoft/Terminal

Provide shell completions for `wt`

オープン

#11,247 opened on 2021/09/16

 (10 件のコメント) (5 件のリアクション) (1 人の担当者)C++ (9,275 件のフォーク)batch import
Area-CommandlineHelp WantedIssue-FeatureProduct-Terminal

Repository metrics

Stars
 (103,173 個のスター)
PR merge metrics
 (平均マージ 27d 19h) (30d で 24 merged PRs)

説明

Description of the new feature/enhancement

Many apps/tools nowadays provide shell completion files (for bash/zsh/powershell). They help in easy discovery of commandline arguments and are overall a QoL enhancement.

Since wt supports a plethora of commandline args, it'be pretty nice to have completion files for PowerShell and CMD (through Clink, if possible).

Proposed technical implementation details (optional)

All shells have their own way of defining completions. (For powershell it's Register-ArgumentCompleter).

Almost all CLI utilities provide the files (examples - ripgrep, gh (CLI), hyperfine). Alacritty, too provides completion files for bash, zsh and fish as a part of their release.

コントリビューターガイド