Skip to main content

USAGE

Constant USAGE 

Source
pub const USAGE: &str = "mira update [--version VERSION] [--dry-run]

Downloads the latest release from GitHub and replaces this binary with it,
by running the same installer as
  curl -fsSL https://miradb.dev/install.sh | bash

  --version VERSION  install this tag instead of the latest (e.g. v0.1.0)
  --dry-run          print the command that would run, and stop

Installs over this binary's own directory, not /usr/local/bin, unless
MIRA_INSTALL_DIR says otherwise. Nothing happens if the running version is
already the one that would be installed.

Needs bash and either curl or wget, because it runs the installer rather
than carrying an HTTPS client. The container image has none of them; upgrade
that by pulling a newer tag.";