Skip to content

fsm/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FSM

Version MIT License Go Report Card Join the community on Spectrum

CLI

CLI is a command line target for FSM.

This is an ideal target for conversational interface development.

Getting Started

package main

import (
	"github.com/fsm/cli"
	"github.com/fsm/fsm"
)

func main() {
	cli.Start(getStateMachine(), getStore())
}

func getStateMachine() fsm.StateMachine {
	// ...
}

func getStore() fsm.Store {
	// ...
}