AutoSpectre 0.15.0
dotnet add package AutoSpectre --version 0.15.0
NuGet\Install-Package AutoSpectre -Version 0.15.0
<PackageReference Include="AutoSpectre" Version="0.15.0" />
<PackageVersion Include="AutoSpectre" Version="0.15.0" />
<PackageReference Include="AutoSpectre" />
paket add AutoSpectre --version 0.15.0
#r "nuget: AutoSpectre, 0.15.0"
#:package AutoSpectre@0.15.0
#addin nuget:?package=AutoSpectre&version=0.15.0
#tool nuget:?package=AutoSpectre&version=0.15.0
AutoSpectre
Decorate a class with AutoSpectreForm and its members with step attributes to have a Spectre.Console prompt flow generated at compile time:
TextPromptAttribute/SelectPromptAttributeon properties for user input.TaskStepAttributeon methods for intermediate work steps.BreakAttributeto exit the flow early.
Credits
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Spectre.Console (>= 0.57.2)
-
net8.0
- Spectre.Console (>= 0.57.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 0.15.0 | 36 | 10/15/2026 | |
| 0.15.0-preview-01 | 35 | 10/15/2026 | |
| 0.14.4 | 129 | 8/31/2026 | |
| 0.14.3 | 211 | 7/4/2026 | |
| 0.14.2 | 153 | 5/3/2026 | |
| 0.14.0 | 137 | 5/3/2026 | |
| 0.14.0-rc-01 | 131 | 4/28/2026 | |
| 0.13.0 | 147 | 4/22/2026 | |
| 0.13.0-rc-01 | 121 | 4/19/2026 | |
| 0.12.0 | 340 | 4/4/2026 | |
| 0.11.0 | 402 | 5/21/2025 | |
| 0.11.0-preview01 | 290 | 5/21/2025 | |
| 0.10.0 | 392 | 4/7/2025 | |
| 0.10.0-preview-01.1 | 199 | 4/6/2025 | |
| 0.9.0 | 583 | 7/2/2024 | |
| 0.9.0-preview-0.3 | 155 | 6/30/2024 | |
| 0.9.0-preview-0.2 | 161 | 4/23/2024 | |
| 0.8.1 | 558 | 2/5/2024 | |
| 0.8.1-preview-01 | 258 | 2/4/2024 |
* Added cancellation-aware `PromptAsync(form, CancellationToken)` factories via `ICancellableSpectreFactory<T>`. Synchronous forms keep `Prompt` and now also implement `IAsyncSpectreFactory<T>` with both async overloads. Tokens flow through all prompt types, nested forms, collection confirmations and supported task-step parameters, with cancellation checks between steps. Existing async overloads, interface implementations and `AsyncSpectreFactoryBase<T>` subclasses remain compatible.
* Task steps now accept a `CancellationToken`, alone or alongside `IAnsiConsole` in either parameter order. Synchronous calls inject `CancellationToken.None`.