Référence CLI
Référence complète de toutes les commandes, flags et arguments jinflow.
C’est la référence exhaustive. Pour un aperçu rapide, voir l’Aide-mémoire.
Naviguer
Section intitulée « Naviguer »jinflow us
Section intitulée « jinflow us »Afficher ou définir la configuration jinflow. Les paramètres persistent dans ~/.jinflow/config.yml.
| Flag | Requis | Type | Défaut | Description |
|---|---|---|---|---|
target (positionnel) | Non | string | — | Définir le tenant courant (qualifié par pack : millesime.domaine_zufferey). Accepte aussi --tenant pour rétrocompatibilité. |
--live-root | Non | string | — | Définir le répertoire live root |
--api-key | Non | string | — | Définir la clé API Anthropic (stockée dans ~/.jinflow/secrets.yml) |
--model | Non | string | — | Définir le modèle IA pour evolve (par ex. claude-sonnet-4-6) |
--dlz | Non | string | — | Définir le répertoire racine DLZ |
--pack-root | Non | string | — | Définir le répertoire racine des packs |
--r2-account-id | Non | string | — | Définir l’ID de compte Cloudflare R2 (stocké dans ~/.jinflow/secrets.yml) |
--r2-key | Non | string | — | Définir l’ID de clé d’accès R2 |
--r2-secret | Non | string | — | Définir la clé secrète R2 |
--r2-bucket | Non | string | — | Définir le nom du bucket R2 |
Sans arguments, affiche la configuration actuelle avec la provenance.
Exemples :
jinflow us # show current configjinflow us millesime.domaine_zufferey # set active tenantjinflow us --live-root ~/my-live # set live rootjinflow us --api-key sk-ant-... # set AI credentialsjinflow ls
Section intitulée « jinflow ls »Lister les packs et tenants dans le live root. Affiche le nom du tenant, la taille du KLS, le nombre de snapshots, le système source et le nombre de CSV.
jinflow lsjinflow ls --snapshotsjinflow ls --snapshots millesime.domaine_zuffereyjinflow pick
Section intitulée « jinflow pick »Sélecteur interactif de tenant — lister tous les tenants, choisir par numéro.
jinflow stat
Section intitulée « jinflow stat »Afficher les statistiques de données KLS et les vérifications de santé pour un tenant.
jinflow scripts
Section intitulée « jinflow scripts »Afficher la résolution des scripts pour un tenant — quel fichier gagne à chaque couche.
jinflow status
Section intitulée « jinflow status »Détection de drift tripartite entre AFS (instance tenant), DPH (domain pack) et le moteur jinflow.
Cycle de vie
Section intitulée « Cycle de vie »jinflow init
Section intitulée « jinflow init »Créer une instance AFS tenant depuis un domain pack (kit de démarrage), ou rejoindre un tenant existant via --clone.
jinflow init --pack millesime --tenant domaine_zuffereyjinflow init --pack millesime --tenant domaine_zufferey --dlzroot ~/jinflow-dlzjinflow init --clone https://github.com/org/afs-millesime-domaine_zufferey.gitjinflow clone
Section intitulée « jinflow clone »Copier une instance AFS tenant existante.
jinflow clone millesime.domaine_zufferey --name auditjinflow clone millesime.domaine_zufferey --name sandbox --no-share-dlzjinflow afs update
Section intitulée « jinflow afs update »Synchroniser un AFS tenant live avec le dernier contenu du domain pack via fusion three-way. Dry run par défaut.
jinflow afs update # dry run, active tenantjinflow afs update szo --do-it # apply three-way mergejinflow afs update --all # dry run, all tenantsjinflow afs update --do-it --force # pack wins on conflictsjinflow afs reset / remote / status / log / pull / push
Section intitulée « jinflow afs reset / remote / status / log / pull / push »Commandes de gestion git de l’AFS tenant. Voir la référence CLI complète en anglais pour les détails de chaque sous-commande.
jinflow make
Section intitulée « jinflow make »Pipeline de build déterministe : enrichir, compiler, dbt build, métadonnées, rapports. Produit un fichier KLS (DuckDB) dans le live root.
jinflow make # full build, active tenantjinflow make millesime.domaine_zufferey # build specific tenantjinflow make millesime --clean # clean rebuild, all tenants in packjinflow make --extract # extract XLSX + buildjinflow make --sync # sync CSVs from DLZ + buildjinflow make --snapshot # build + freeze (auto-tag)jinflow make --snapshot post-audit # build + freeze (named tag)jinflow extract
Section intitulée « jinflow extract »Extraire les fichiers XLSX en CSV dans la DLZ (sans construire).
jinflow generate
Section intitulée « jinflow generate »Générer des données synthétiques dans la DLZ.
jinflow snapshot
Section intitulée « jinflow snapshot »Figer le KLS de travail actuel en un snapshot immuable et estampillé.
jinflow snapshot # auto-tag: YYYYMMDD-HHMMjinflow snapshot post-audit # named tagExplorer
Section intitulée « Explorer »jinflow explore
Section intitulée « jinflow explore »Lancer l’application web Explorer sur un KLS.
jinflow explore # active tenant, port 4000jinflow explore millesime.domaine_zufferey # specific tenantjinflow explore --db /path/to/kls.duckdb # explicit KLSjinflow explore --snapshot post-audit # open a snapshotjinflow explore --port 8080 --no-open # custom port, no browserjinflow explore --docker # run in Dockerjinflow explore --cloud # serve from R2jinflow evolve
Section intitulée « jinflow evolve »REPL de recherche et amélioration assisté par IA.
jinflow evolve # interactive sessionjinflow evolve --no-ai # SQL-only modejinflow evolve --model claude-opus-4-6 # choose modeljinflow notebook-pdf
Section intitulée « jinflow notebook-pdf »Exporter un notebook du KLS en document PDF.
jinflow pack ls / clone
Section intitulée « jinflow pack ls / clone »Lister les packs ou cloner un domain pack depuis GitHub.
jinflow pack lsjinflow pack clone millesimejinflow cloud ls / sync / blacklist
Section intitulée « jinflow cloud ls / sync / blacklist »Gérer la synchronisation KLS avec Cloudflare R2.
jinflow cloud lsjinflow cloud sync --do-itjinflow cloud blacklist millesime.domaine_zuffereyjinflow instance
Section intitulée « jinflow instance »Gérer les instances cloud déployées.
jinflow instance lsjinflow instance add demo https://this-is.jinflow.iojinflow instance refresh --alljinflow version
Section intitulée « jinflow version »Afficher la version et les notes de release.
jinflow help
Section intitulée « jinflow help »Afficher l’aide détaillée pour une commande.
jinflow release-notes
Section intitulée « jinflow release-notes »Générer RELEASE_NOTES.md depuis les commits git.