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 {
// ...
}