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

CLI reference

team

Teams in your organization, nested; owners and admins manage them.

View as Markdown

nexus team list

nexus team list

Teams in your organization, with yours marked.

nexus team tree

nexus team tree [--depth N]

Teams nested under their parents, with levels, leads and headcount.

OptionMeaning
--depth <N>How many levels of teams to show or roll up

nexus team show

nexus team show <slug>

A team: its path, child teams, members and pending members.

nexus team create

nexus team create <slug> [--parent P] [--level L] [--name N]

Create a team, optionally under a parent (owners and admins).

OptionMeaning
--parent <P>The parent team's slug
--level <L>Your own label for the team's level (e.g. department)
--name <N>A display name
Examples
nexus team create web --name "Web"

nexus team move

nexus team move <slug> --parent P | --root

Put a team under another one, or at the top (owners and admins).

OptionMeaning
--parent <P>The parent team's slug
--rootPut the team at the top, under no parent

nexus team rename

nexus team rename <slug> <new-slug> [--name N]

Change a team's slug, name, --level or --description (owners and admins).

OptionMeaning
--name <N>A display name
--level <L>Your own label for the team's level (e.g. department)
--description <text>A description

nexus team delete

nexus team delete <slug> --yes [--cascade]

Delete a team (--cascade: and every team under it); spend stays.

OptionMeaning
--yesConfirm a change that deletes or sends more than one thing
--cascadeAlso delete every team under it

nexus team add

nexus team add <slug> <email|userId> [--lead] [--home]

Add someone; an email not in the organization yet is pending until they join.

OptionMeaning
--leadAdd the person as a lead
--homeMake it the person's default team
Examples
nexus team add web bo@acme.example

nexus team remove

nexus team remove <slug> <email|userId>

Take someone out of a team (owners and admins).

nexus team pending

nexus team pending [--team T] [--cancel <email|id>]

People added by email who have not joined yet (owners and admins).

OptionMeaning
--team <T>Only people pending in this team
--cancel <email|id>Cancel a pending member (email or id)

nexus team import

nexus team import <file> [--dry-run] [--plan P] [--prune [--yes]]
nexus team import <file> --invite [--dry-run] [--yes]

Load teams, leads and members from a YAML or JSON file; --dry-run shows the changes and a plan to apply exactly them (owners and admins).

  • nexus team import <file> --invite [--dry-run] [--yes]: Also invite the file's people who are not in the organization yet (the sign-in provider emails them; never without --invite).
OptionMeaning
--dry-runShow what would change, change nothing
--plan <P>Apply exactly the plan a dry run printed
--pruneAlso remove teams and memberships missing from the file
--yesConfirm a change that deletes or sends more than one thing
--inviteAlso invite the file's people who are not in the organization yet
Examples
nexus team import teams.yaml --dry-run

nexus team use

nexus team use <slug>

Make it your default team: where your spend goes when you name none.

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.