Skip to main content

Myrmic CLI

The Myrmic CLI is the command-line tool for creating, building, deploying, and interacting with Myrmic cells and applications.

Synopsis

myrmic [OPTIONS] COMMAND [ARGS]
myrmic --help
myrmic --version

Environment Variables

The following environment variables control the behavior of the myrmic command-line tool.

VariableDescriptionUsed by
CARGOPath to the cargo executable. Defaults to cargo on PATH.build, deploy
XDG_RUNTIME_DIRControls where PID files are stored.runtimes start, runtimes list, runtimes delete
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKENS3 credentials.database export, database import
AWS_REGION / AWS_DEFAULT_REGIONAWS region for S3. Falls back to us-east-1.database export, database import

Commands

Below is the full list of myrmic commands, each with a dedicated reference page covering its synopsis, options, and examples.

Setup

  • new - Scaffold a new cell crate.

Build

  • platforms - List available build platforms.
  • build - Build a cell, workspace, or application suite.

Runtime

Deploy & Manage

Interact

  • send - Send a command to a deployed cell. Aliases: command, cmd
  • publish - Publish an event into the swarm. Aliases: event, pub

Telemetry

Database

  • database export - Export a database scope to a snapshot. Aliases: db export
  • database import - Restore a snapshot into a database scope. Aliases: db import
Cookie Policy