You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
PathPrompt: a filesystem path prompt with existence validation and Tab auto-completion. New public API includes PathPrompt (WithBaseDirectory, WithPathKind, WithExtensions, WithDefaultValue, WithErrorMessage, WithPromptStyle, MustExist, IncludeHidden, Show, ShowAsync) and the PathKind enum (Any, File, Directory). The prompt reuses the existing HistoryTextPrompt<T> low-level input and auto-complete infrastructure.
Changed
Updated package references to latest versions.
Updated Spectre.Console.Cli package references to version 0.57.2.
Updated InteractivePrompt.Cli to include a command that uses the PathPrompt component.
Breaking Changes
Spectre.Console.Cli 0.57.2 changed the base Command.Execute, Command<TSettings>.Execute, and AsyncCommand.ExecuteAsync members from protected to public. All command overrides in this repository (and in consuming projects) must change their Execute/ExecuteAsync overrides from protected override to public override, or they will fail to compile.