Skip to content

CLI Overview

The Dojo CLI is your primary interface for working with Dojo repositories.

Terminal window
curl -fsSL https://dojo.ninja/install.sh | sh
FlagDescription
--helpShow help for any command
--versionShow the CLI version
CommandDescription
dojo initInitialize a new repository
dojo cloneClone an existing repository
dojo statusShow working copy status
dojo logShow commit history
CommandDescription
dojo commitDescribe working copy and create new change
dojo editMove working copy to a specific commit
dojo newCreate a new empty change
CommandDescription
dojo history logShow commit graph
dojo history showShow commit details
dojo history opsShow operation log
CommandDescription
dojo rewrite describeChange a commit message
dojo rewrite splitSplit a commit by files
dojo rewrite reorderReorder commits
dojo rewrite undoUndo last operation
CommandDescription
dojo sync pushPush commits to server
dojo sync pullPull changes from server
CommandDescription
dojo stack listList stacks
dojo stack showShow stack details
dojo stack submitSubmit a stack for review
dojo review listList stacks awaiting review
dojo review diffView stack changes
dojo review approveApprove a stack
dojo review rejectRequest changes
dojo review commentLeave a comment
CommandDescription
dojo workspace createCreate an agent workspace
dojo workspace listList workspaces
dojo workspace writeWrite a file to workspace
dojo workspace readRead a file from workspace
dojo workspace commitCommit workspace changes
dojo workspace submitSubmit workspace as stack

See Commands for detailed usage of each command.