Stay CLI
stay is the meta-CLI that ties all StayDistributed products together. It discovers, installs, and delegates to product binaries without importing any product code — keeping its install size minimal.
How delegation works
Section titled “How delegation works”When you run stay check version, the CLI:
- Looks up
checkin its internal registry - Finds the binary name
staydistributed-check - Spawns
staydistributed-check versionas a child process
If the binary isn’t installed, stay prints a helpful error suggesting stay check init.
Registry
Section titled “Registry”The tool registry maps product names to their npm packages and binary names:
| Tool | Package | Binary |
|---|---|---|
| check | @staydistributed/check | staydistributed-check |
| signal | @staydistributed/signal | staydistributed-signal |