fsm / cli

A command line target for FSM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A command line target for FSM

License:MIT License


Languages

Language:Go 100.0%