directory
Version:
v0.18.0
Opens a new window with list of versions in this module.
Published: Feb 21, 2026
License: MIT
Opens a new window with license information.
README
¶
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
Directories
¶
|
|
|
|
|
|
Package states contains a stateful schema-v2 for a CLI.
|
Package states contains a stateful schema-v2 for a CLI. |
|
|
|
Click to show internal directories.
Click to hide internal directories.