Skip to main content

Global Options

These flags are passed before any subcommand (e.g., mesafs --config-path <PATH> run ...).
FlagShortDescription
--config-path <CONFIG_PATH>-cOptional path to a MesaFS config.toml file.

mesafs run

Spawn the filesystem as a daemon process Running mesafs without a subcommand is equivalent to mesafs run.
mesafs run [OPTIONS]
Options:
FlagShortDescriptionDefault
--daemonize-dRun the daemon in the background

mesafs ping

Ping a running MesaFS daemon
mesafs ping [OPTIONS]
Options:
FlagShortDescriptionDefault
--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.

mesafs new

Create a new change on the current or specified bookmark / change
mesafs new [OPTIONS] [BOOKMARK-OR-ID]
Arguments:
ArgumentDescriptionRequired
BOOKMARK-OR-IDBookmark name or change ID to base the new change on. Omit to create a detached change from the current commitNo
Options:
FlagShortDescriptionDefault
--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.

mesafs list-bookmarks

List bookmarks (branches) for a repository
mesafs list-bookmarks [OPTIONS]
Options:
FlagShortDescriptionDefault
--repo <ORG/REPO>The repository in org/repo format. Auto-detected from CWD if omitted

mesafs edit

Switch to a different bookmark or change Aliases: checkout
mesafs edit [OPTIONS] <BOOKMARK-OR-ID>
Arguments:
ArgumentDescriptionRequired
BOOKMARK-OR-IDBookmark name or change ID to switch toYes
Options:
FlagShortDescriptionDefault
--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.

mesafs dump-config-template

Print a documented MesaFS config.toml template to stdout
mesafs dump-config-template