CompletionCommands Class

Definition

Adds built-in shell completion support to a CommandApp.

public sealed class CompletionCommands : CommandGroup, IEnumerable

Remarks

It adds:

  • completion <shell>: prints shell glue scripts (bash/zsh/fish/powershell).
  • __complete: a hidden command used by the scripts to query completion candidates.
Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Constructors (1)