Skip to content

Interactive workflows using dotnet-state-machine/stateless, PowerShell module and FarNet library

License

Notifications You must be signed in to change notification settings

nightroman/FarNet.Stateless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FarNet.Stateless

Interactive workflows using dotnet-state-machine/stateless.

Packages

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

See FarNet.Stateless/examples

Phone.stateless.ps1 example with interactive loop in PowerShell:
(OnHook -> OffHook -> Dial (+ prompt for number) -> Ringing -> Connected -> ...)

image

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

About

Interactive workflows using dotnet-state-machine/stateless, PowerShell module and FarNet library

Resources

License

Stars

Watchers

Forks

Sponsor this project