Skip to main content

Global Options

These flags are passed before any subcommand (e.g., mesa --config-path <PATH> mount ...).
FlagShortDescription
--config-path <CONFIG_PATH>-cOptional path to a Mesa config.toml file.
--non-interactive-ySkip interactive onboarding and generate config from defaults.

mesa version

Print the version of the Mesa CLI
mesa version

mesa stats

Show statistics from a running Mesa daemon
mesa stats [OPTIONS]
Options:
FlagShortDescription
--format <FORMAT>Output format
--pid <PID>PID of the daemon to connect to
--pid-file <PID_FILE>Path to the daemon’s PID file
--pid-file and --pid are mutually exclusive.

mesa root

Show the current repository root directory
mesa root

mesa ping

Ping a running Mesa daemon
mesa ping [OPTIONS]
Options:
FlagShortDescription
--pid <PID>PID of the daemon to connect to
--pid-file <PID_FILE>Path to the daemon’s PID file
--pid-file and --pid are mutually exclusive.

mesa new

Create a new change on the current or specified bookmark / change
mesa new [OPTIONS] <BOOKMARK-OR-ID>
Arguments:
ArgumentDescriptionRequired
BOOKMARK-OR-IDBookmark name or change ID to base the new change onYes
Options:
FlagShortDescription
--pid <PID>PID of the daemon to connect to
--pid-file <PID_FILE>Path to the daemon’s PID file
--repo <ORG/REPO>The repository in org/repo format. Auto-detected from CWD if omitted
--pid-file and --pid are mutually exclusive.

mesa mount

Mount the filesystem as a daemon process
mesa mount [OPTIONS]
Options:
FlagShortDescription
--daemonize-dRun the daemon in the background

mesa log

Show the commit log for the current repository
mesa log [OPTIONS]
Options:
FlagShortDescription
--limit <LIMIT>-nLimit number of commits to show
--pid <PID>PID of the daemon to connect to
--pid-file <PID_FILE>Path to the daemon’s PID file
--repo <ORG/REPO>The repository in org/repo format. Auto-detected from CWD if omitted
--revision <REVISION>-rWhich revision to show history for (bookmark name or change ID). Defaults to the current checkout when inside a mesa mount
--pid-file and --pid are mutually exclusive.

mesa licenses

List third-party dependency licenses
mesa licenses

mesa edit

Switch to a different bookmark or change Aliases: checkout
mesa edit [OPTIONS] <BOOKMARK-OR-ID>
Arguments:
ArgumentDescriptionRequired
BOOKMARK-OR-IDBookmark name or change ID to switch toYes
Options:
FlagShortDescription
--pid <PID>PID of the daemon to connect to
--pid-file <PID_FILE>Path to the daemon’s PID file
--repo <ORG/REPO>The repository in org/repo format. Auto-detected from CWD if omitted
--pid-file and --pid are mutually exclusive.

mesa dump-config-template

Print a documented Mesa config.toml template to stdout
mesa dump-config-template

mesa bookmark list

List bookmarks for a repository
mesa bookmark list [OPTIONS]
Options:
FlagShortDescription
--pid <PID>PID of the daemon to connect to
--pid-file <PID_FILE>Path to the daemon’s PID file
--repo <ORG/REPO>The repository in org/repo format. Auto-detected from CWD if omitted
--pid-file and --pid are mutually exclusive.

mesa bookmark create

Create a new bookmark (a named pointer to a change). Points at the current change by default; use -r to point at a different change
mesa bookmark create [OPTIONS] <NAME>
Arguments:
ArgumentDescriptionRequired
NAMEName of the bookmark to createYes
Options:
FlagShortDescription
--pid <PID>PID of the daemon to connect to
--pid-file <PID_FILE>Path to the daemon’s PID file
--repo <ORG/REPO>The repository in org/repo format. Auto-detected from CWD if omitted
--revision <REVISION>-rSpecify which change the new bookmark should point to. You can provide either an existing bookmark name or a raw change ID. If neither is found, this command errors
--pid-file and --pid are mutually exclusive.