Skip to main content
This page lists everything the CLI does. rubix help and rubix help <command> print the same list in your terminal, and /help or ? shows the keys inside chat.

Commands

Options

In a terminal, output has colour and links. When you pipe it, you get plain text. With --json, you get JSON.

Asking once

rubix -p joins anything you pipe in to the question, so cat error.log | rubix -p "what does this mean?" sends the log with it. The chat is saved, and the CLI prints rubix chat -s <id> so you can carry on there. If Rubix needs an approval or asks a question, the CLI says so, prints rubix chat -s <id> to answer it in chat, and exits with code 2. Other errors exit with code 1. With --json, the answer looks like this:
waiting says what Rubix is waiting for when it stopped for you.

Slash commands

Type / in chat for the list. Your organization’s saved commands from Customize > Commands show in the same list.

Keys in chat

When Rubix asks for approval: y approves once, a approves for this chat, n declines.

Browse

Keys and actions in Browse.

Scripts and examples

The commands in real use.