jstm init
Scaffold config.toml in your config directory with a freshly generated encryption key.
Overwrite an existing
config.toml. Without it, init leaves an existing config alone.jstm login
Sign in. There are three modes.
- Browser (default)
- Email code
- Password
gh and similar tools.If you can’t open a browser — a remote shell, a container — add --no-browser and the CLI prints the URL and code for you to open elsewhere.
On success, your session is written to
session.json with 0600 permissions. See Configuration for where that file lives.
In CI, set
JOYSTREAM_TOKEN instead of logging in. It takes precedence over the session file.jstm logout
Clear the stored session.
jstm whoami
Show the current user and workspace context. This is the fastest way to confirm you’re signed in and pointed at the right workspace.
jstm login again. If it reports a connection problem, check JOYSTREAM_API_URL — the error names the URL it tried.
jstm commands
Print every command and subcommand as a table. Useful when you want the whole surface at once.
--json.