Skip to content
NewNexus 2.0 is here, and it’s open source. Read the launch post

CLI reference

slack

The Nexus Slack app (owners and admins): bind a Slack workspace to your organization through Slack's install. Only the person who started an install confirms it, and a workspace binds to one organization at a time. A channel binds to a team: in a bound channel, @nexus attributes each call to that team, under its policy and caps; a team lead binds a channel to a team they lead.

View as Markdown

nexus slack connect

nexus slack connect [--confirm <install-id>] [--dry-run]

Connect a Slack workspace: print Slack's install link; approve the app in the browser where you are signed in to Nexus UI, which completes the install; then --confirm binds that workspace to this organization (owners and admins).

OptionMeaning
--confirm <install-id>The install id (chw_…) that nexus slack connect printed: binds its workspace once you approved the app in Slack
--dry-runShow what would change, change nothing
Examples
nexus slack connect
nexus slack connect --confirm chw_… --dry-run
nexus slack connect --confirm chw_…

nexus slack status

nexus slack status

The organization's Slack workspaces, pending and active (owners and admins).

Examples
nexus slack status --json

nexus slack disconnect

nexus slack disconnect <id> [--dry-run]

Unbind a workspace: Gateway uninstalls the app from it and deletes its bot token, unless another binding of the organization still uses it (owners and admins).

OptionMeaning
--dry-runShow what would change, change nothing
Examples
nexus slack disconnect chw_… --dry-run

nexus slack channel list

nexus slack channel list <workspace id>

The workspace's channels bound to a team (owners and admins: every one; a lead: those of the teams they lead).

Examples
nexus slack channel list chw_…

nexus slack channel bind

nexus slack channel bind <workspace id> <channel id> --team <slug>

Bind a channel to a team: its calls go to that team, under its policy and caps (owners and admins: any team; a lead: a team they lead).

OptionMeaning
--team <slug>The team the channel's calls go to, by slug or id (a lead: a team they lead or one under it)
Examples
nexus slack channel bind chw_… C0123ABCD --team web

nexus slack channel unbind

nexus slack channel unbind <workspace id> <channel id>

Unbind a channel from its team.

Examples
nexus slack channel unbind chw_… C0123ABCD --json

Generated from the CLI's own command list (nexus help --json), version 0.45.0. nexus help and nexus <command> --help always show your installed version.