Skip to content

haibaaa/mona

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

python based cli companion to the lisa remote configuration service

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages