FarNet.Stateless
0.1.1
Prefix Reserved
dotnet add package FarNet.Stateless --version 0.1.1
NuGet\Install-Package FarNet.Stateless -Version 0.1.1
<PackageReference Include="FarNet.Stateless" Version="0.1.1" />
paket add FarNet.Stateless --version 0.1.1
#r "nuget: FarNet.Stateless, 0.1.1"
// Install FarNet.Stateless as a Cake Addin #addin nuget:?package=FarNet.Stateless&version=0.1.1 // Install FarNet.Stateless as a Cake Tool #tool nuget:?package=FarNet.Stateless&version=0.1.1
FarNet.Stateless
Interactive workflows using dotnet-state-machine/stateless.
Packages
- PowerShell 5.1 and 7.x module, PSGallery FarNet.Stateless
- FarNet library, NuGet FarNet.Stateless
Use cases
- Interactive workflows using PowerShell host UI.
- Persistent workflows using checkpoint files.
- Testing and visualizing state machines.
- Interactive input of complex data.
- Hierarchical action/choice menus.
Examples
Phone.stateless.ps1 example with interactive loop in PowerShell:
(OnHook
→ OffHook
→ Dial
(+ prompt for number) → Ringing
→ Connected
→ ...)
PowerShell module
You may install the PowerShell module by this command:
Install-Module -Name FarNet.Stateless
Explore, see also about_FarNet.Stateless.help.txt:
# import and get module commands
Import-Module -Name FarNet.Stateless
Get-Command -Module FarNet.Stateless
# get module and commands help
help about_FarNet.Stateless
help Invoke-Stateless
help Invoke-StateMachine
help Show-StateMachine
FarNet library
To install as the FarNet library FarNet.Stateless
, follow these steps.
See PowerShell FarNet modules for details.
See also
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.