Skip to main content

CLI tool for syncing local config files to a Lisa remote config server

Project description

Mona cli

Mona is the cli-interface for configuring your lisa projects


Features

  • Initialize configuration templates for new projects
  • Sync remote config variables with lisa
  • Works with .env files via python-dotenv
  • Simple CLI interface built with Click

Installation

Once published to PyPI:

pip install mona-cli

Using uv:

uv pip install mona-cli

Usage

After installation, the mona command is available on the system PATH.

mona --help

Expected output:

Usage: mona [OPTIONS] COMMAND [ARGS]...

  Mona  sync your local config to Lisa

Options:
  --help  Show this message and exit.

Commands:
  init  Initialize a template
  sync  Sync config variables across project

Usage

mona init

Initializes a configuration template in the current project.

mona init

mona sync

Synchronizes local configuration values with the Lisa remote configuration server.

mona sync

Configuration

Mona requires your project config_api
To generate a project run

curl -X POST https://lisa-aopa.onrender.com/create/<project_name>

and copy the returned client and config apis to a safe place as they
will not be displayed again

LISA_CONFIG_URL=https://config.example.com

Environment variables are loaded automatically using python-dotenv.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mona_cli-0.1.0.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mona_cli-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file mona_cli-0.1.0.tar.gz.

File metadata

  • Download URL: mona_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.8

File hashes

Hashes for mona_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 515d32496febac781f14c0d4a5395b73b49cebe8cc8e62202c998491930cc58e
MD5 65c5cb51f45dfbab41b9315b465448ee
BLAKE2b-256 87ec4ece6c7b83d614695ccdb5385e9986a2ac370d99286ce7435de4ceaebede

See more details on using hashes here.

File details

Details for the file mona_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mona_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.8

File hashes

Hashes for mona_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98bad3c8497eace23cf831ec94e9946ced283bd57b6b6e44ed06e4cc25f52c83
MD5 03563d40513479ee815e403324230755
BLAKE2b-256 37b05878aace4b010a6ca9244ba7711b0600484707d0075bb441989c4e849165

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page