MyBotBoxMyBotBox

@yarlisai/cli

The MyBotBox command-line tool — gh-style auth plus workflow and project management.

@yarlisai/cli (mybotbox) is the command-line tool for MyBotBox. It logs you in through your browser, then manages workflows and projects from the terminal or CI — wrapping the TypeScript SDK so the CLI and SDK share one code path.

Install

npm install -g @yarlisai/cli

Source: packages/cli · npm · CHANGELOG

Authentication

mybotbox auth login runs a browser-based OAuth device flow (like gh auth login) and stores the minted personal API key in ~/.mybotbox/hosts.json (mode 0600), keyed by host.

mybotbox auth login                 # browser device flow → stores an API key
mybotbox auth status                # show active host + whether the token is valid
mybotbox auth logout                # remove the stored credential
Flag / variablePurpose
--host <host>Target a non-default instance (default app.mybotbox.com).
--scope "<scopes>"Space-delimited scopes to request.
MYBOTBOX_TOKENUse this token instead of the stored credential (ideal for CI).
MYBOTBOX_HOSTDefault host when --host is omitted.

See Authentication for the full flow and how to build your own client.

Managing workflows

mybotbox workflow list [-w <workspaceId>]
mybotbox workflow create <name> [-w <workspaceId>] [-d <description>] [-f <folderId>]
mybotbox workflow deploy <id>
mybotbox workflow run <id> [-i '<json>']
mybotbox workflow delete <id>

wf is an alias for workflow (e.g. mybotbox wf list).

Managing projects

mybotbox project list [--archived]
mybotbox project create <name> [-d <description>]

Local dev stack

Running mybotbox with no subcommand (or mybotbox up) boots the local Docker stack — the original bootstrap behavior.

See also