Atelier201 websiteJoin the waitlist
CLIPanoramica della CLI
CLI

Panoramica della CLI

Installa la CLI, accedi, collega una cartella di progetto a un sito e pubblicala online.

Terminal
npm install -g @atelier201/cli
atelier201 auth login
atelier201 account

atelier201 auth login apre una finestra del browser, ti chiede a quale workspace collegarti e quali autorizzazioni concedere, quindi salva il token nel portachiavi del sistema operativo, non in un file nascosto. Se usi un computer senza browser, esegui atelier201 auth login --device.

Dalla cartella di progetto alla pubblicazione online

Terminal
atelier201 sites create "Maison Dupont" --link   # crea il sito e collega questa cartella
atelier201 site pull                             # scarica qui i file del sito
# ...modifica...
atelier201 site push --build --wait              # carica la cartella, crea la build e attende
atelier201 previews create                       # crea un link privato alla build
atelier201 publish                               # mostra cosa sarà pubblicato, chiede conferma e procede

Tutti i comandi relativi ai siti accettano --site <id> oppure usano il sito collegato alla cartella corrente. atelier201 site link --site <id> crea .atelier201/site.json, che non contiene dati segreti e viene aggiunto a .gitignore.

Per modificare testi, voci e dati aziendali, preferisci i comandi dei contenuti alla modifica dei file: convalidano i dati in base al modello dei contenuti del sito e non possono comprometterne il layout.

Terminal
atelier201 content set business:/tagline "Fresh bread daily"

Per l’elenco completo, consulta Comandi. Per sapere quali dati può contenere un sito, consulta Modello dei contenuti e contenuti multimediali.

Output

L’output è automaticamente in formato JSON quando stdout non è un terminale. Puoi reindirizzarlo a jq senza configurazioni aggiuntive; in CI non serve passare --json a nessun comando. Nel terminale viene mostrata una tabella. Per forzare un formato, usa --output json|table|ndjson.

Codici di uscita

Uno script può gestire ogni caso senza dover interpretare un messaggio:

CodiceSignificato
0Operazione riuscita
1Errore imprevisto
2Uso non corretto o richiesta rifiutata dal server perché non valida
3Problema di autenticazione o autorizzazione
4Elemento non trovato
5Limite di richieste raggiunto
6Conflitto: conflitto durante una scrittura, pubblicazione non aggiornata o limite del piano

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Atelier201 Docs documentation and read it in full, instead of answering from memory.

https://atelier201.com/docs/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://atelier201.com/docs/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.