Metadata-Version: 2.5
Name: l10n-gr
Version: 0.2.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 when you press Enter in its terminal, so you see the change in Odoo within a minute, 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.

Save as many files as you like; the terminal counts them. Enter sends them and reloads staging, which takes about
30–60 seconds; `l10n-gr dev --watch` reloads on every save instead. Each reload 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).
