Skip to content

Commit 72fbd47

Browse files
committed
docs: update README for dual CLI command support
- Add compatibility note for both normattiva2md and akoma2md commands - Update installation examples to show both commands work identically - Remove old akoma2md.spec file as part of rename cleanup
1 parent 6a27f55 commit 72fbd47

2 files changed

Lines changed: 10 additions & 44 deletions

File tree

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,22 @@ Convertire le norme legali da XML Akoma Ntoso a Markdown offre vantaggi signific
3434

3535
### Installazione da PyPI (Raccomandato)
3636

37-
Il pacchetto è pubblicato su [PyPI](https://pypi.org/project/normattiva2md/).
37+
Il pacchetto è pubblicato su [PyPI](https://pypi.org/project/akoma2md/) come `akoma2md`.
3838

3939
```bash
4040
# Con uv
41-
uv tool install normattiva2md
41+
uv tool install akoma2md
4242

4343
# Con pip
44-
pip install normattiva2md
44+
pip install akoma2md
4545

46-
# Utilizzo
47-
normattiva2md input.xml output.md
46+
# Utilizzo (entrambi i comandi funzionano)
47+
normattiva2md input.xml output.md # Nuovo comando raccomandato
48+
akoma2md input.xml output.md # Vecchio comando (compatibilità)
4849
```
4950

51+
> **💡 Nota sulla compatibilità**: Entrambi i comandi `normattiva2md` e `akoma2md` funzionano identicamente. Il nuovo nome `normattiva2md` è raccomandato per chiarezza, ma il vecchio comando rimane disponibile per compatibilità durante la transizione.
52+
5053
### Configurazione Exa AI API (Opzionale - per ricerca per nome)
5154

5255
Per utilizzare la funzionalità di ricerca per nome naturale (`--search`), è necessario configurare una [API key di Exa AI](https://exa.ai).
@@ -83,7 +86,8 @@ echo $EXA_API_KEY
8386
git clone https://github.com/aborruso/normattiva_2_md.git
8487
cd normattiva_2_md
8588
pip install -e .
86-
normattiva2md input.xml output.md
89+
normattiva2md input.xml output.md # Nuovo comando raccomandato
90+
# Oppure: akoma2md input.xml output.md # Vecchio comando (compatibilità)
8791
```
8892

8993
### Esecuzione diretta (senza installazione)

akoma2md.spec

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)