Halo
CLI reference
Every halo command, flag and environment variable.
| Command | Description |
|---|
halo | the interactive shell (a plain prompt when not in a terminal) |
halo "request" | one request, then exit |
halo login | sign in with your Memcode account in the browser |
halo logout | sign out (of Halo and the Memcode CLI, which share one sign-in) |
halo status | account, service connection and plan |
halo version | the installed version |
halo upgrade | install the latest release (signature and checksum verified) |
| Flag | Description |
|---|
--plain | a plain line prompt instead of the interactive shell |
--unconfined | on a machine with no sandbox, offer to run commands without one (each run asks, every time) |
| Variable | Description |
|---|
MEMCODE_API_TOKEN | the account key, instead of the saved sign-in |
HALO_INSTALL_DIR, HALO_VERSION, HALO_REQUIRE_SIGNATURE | installer options (Installation) |
| Path | Contents |
|---|
~/.config/memcode/.env | the sign-in shared with the Memcode CLI |
~/.config/memcode/halo.json | Halo preferences (theme, telemetry choice) |
~/.halo/sessions/ | conversations, kept on your machine |
~/.halo/history | your recent requests, for ↑ / ↓ |
~/.halo/authorities.json | machine access you chose to always allow |