Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

CLI Daemon

This asyncmachine example uses aRPC to mutate a singleton state-machine (the daemon). The daemon can be separately controlled via an aRPC REPL.

// TODO gif

Components

  • aRPC daemon in /daemon
  • CLI using go-arg in /cli
  • state machine schema in /states
  • optional
    • typed arguments in ./types
    • REPL with typed args

Tasks

  • task start
  • task cli
  • task repl

Demo

  • tty0: task start
  • tty1: task cli -- --foo-1
  • tty2: task repl
  • tty1: task cli -- --bar-2