microsoft/Terminal

Provide shell completions for `wt`

开放

#11,247 创建于 2021年9月16日

 (10 条评论) (5 个反应) (1 位负责人)C++ (9,275 个派生)batch import
Area-CommandlineHelp WantedIssue-FeatureProduct-Terminal

仓库指标

星标
 (103,173 个星标)
PR 合并指标
 (平均合并 27天 19小时) (30 天内合并 24 个 PR)

描述

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.

贡献者指南