Metadata-Version: 2.5
Name: l10n-gr
Version: 0.1.0
Summary: l10n.gr command line: live development of your Odoo modules on a project's staging (l10n-gr dev)
License-Expression: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# l10n-gr

Command line for partners of [l10n.gr](https://l10n.gr). `l10n-gr dev` sends the modules of your local checkout to
your project's staging as you save, so you see the change in Odoo seconds later, without a push and a pipeline run.

```
pip install l10n-gr
cd ~/code/acme-odoo           # the repository your project's pipeline uses
l10n-gr dev --project acme
```

Start a session first in console.l10n.gr: project → Staging → «Live development» → Start. The console shows a dev
token once; paste it when the CLI asks (or set `L10N_GR_TOKEN`). The token reaches only this project's staging.

Every save runs the pipeline's checks (static rules and the AI review). A blocking finding rejects the change and
staging keeps the last accepted state. Accepted changes install new modules and upgrade the changed ones. The staging
log follows in the same terminal.

`Ctrl+C`, «End» in the console, 8 hours without a change, or a deploy to staging end the session, and staging goes back
to the approved release. Code reaches production only through git and the pipeline.

In PyCharm, run it in the terminal or as a Run configuration (module `l10n_gr_cli.main`, parameters
`dev --project acme`, working directory your repository).
