jinflow CLI Spickzettel
Konzepte
Abschnitt betitelt „Konzepte“| Begriff | Was es ist |
|---|---|
| Pack | Domain-spezifisches Analytik-Kit (z.B. Millesime fuer Weinbau, Alptrack fuer Skigebiete) |
| Tenant | Ein Kunde/Standort. Pack-qualifiziert: millesime.domaine_zufferey |
| KLS | Knowledge Store — die DuckDB-Datei, die du baust und erkundest |
| AFS | Artifact Store — das analytische Framework (Signals, Theses, dbt, Contracts) |
| Snapshot | Unveraenderliche, eingefrorene Kopie eines KLS |
| DLZ | Data Landing Zone — wo Rohdaten vom Quellsystem ankommen |
| Live Root | Wo Tenant-Instanzen auf der Festplatte leben (~/.jinflow/live/ Standard) |
| Deploy Root | Wo das Anwendungspaket lebt (CLI + Explorer Binary) |
Installation
Abschnitt betitelt „Installation“export PATH="$HOME/jinflow:$PATH" # zum Shell-Profil hinzufuegenjinflow version # Installation pruefenErstkonfiguration
Abschnitt betitelt „Erstkonfiguration“jinflow us --live-root ~/jinflow-data # wo Tenant-Daten lebenjinflow us --api-key sk-ant-... # Claude API Key (fuer KI-Features)jinflow us millesime.domaine_zufferey # Standard-Tenant setzenBefehle
Abschnitt betitelt „Befehle“jinflow us — Konfiguration
Abschnitt betitelt „jinflow us — Konfiguration“jinflow us # aktuelle Konfiguration mit Herkunft anzeigenjinflow us pack.tenant # Standard-Tenant setzenjinflow us --live-root /path # Datenverzeichnis setzenjinflow us --api-key sk-ant-... # Claude API Key setzenjinflow us --model claude-opus-4-6 # KI-Modell fuer Evolve setzenjinflow ls — Tenants auflisten
Abschnitt betitelt „jinflow ls — Tenants auflisten“jinflow ls # alle Packs + Tenants auflistenjinflow ls --snapshots # Snapshot-Details einschliessenjinflow init — Tenant erstellen
Abschnitt betitelt „jinflow init — Tenant erstellen“jinflow init --pack millesime --tenant my_org --source-system opalejinflow init --pack millesime --tenant my_org --dlz /path/to/dlzjinflow clone — Tenant kopieren
Abschnitt betitelt „jinflow clone — Tenant kopieren“jinflow clone millesime.domaine_zufferey --name sandboxjinflow make — Bauen
Abschnitt betitelt „jinflow make — Bauen“jinflow make # Standard-Tenant bauenjinflow make millesime.domaine_zufferey # bestimmten Tenant bauenjinflow make millesime # alle Tenants im Pack (Wildcard)jinflow make --clean # Loeschen und von Grund auf neu bauenjinflow make --extract # XLSX → CSV → Sync → Buildjinflow make --sync # CSVs von DLZ kopierenjinflow make --snapshot post-audit # KLS nach Build einfrierenjinflow explore — Web UI
Abschnitt betitelt „jinflow explore — Web UI“jinflow explore # Standard-Tenant, Port 4000jinflow explore --snapshot post-audit # bestimmten Snapshot oeffnenjinflow explore --port 3000 # benutzerdefinierter Portjinflow explore --docker # Explorer in Dockerjinflow evolve — KI-Exploration
Abschnitt betitelt „jinflow evolve — KI-Exploration“jinflow evolve # interaktives REPL (KI + SQL)jinflow evolve --no-ai # Nur-SQL-Modusjinflow evolve --model claude-opus-4-6 # KI-Modell waehlenAFS-Befehle
Abschnitt betitelt „AFS-Befehle“jinflow afs update --do-it # Pack → Tenant synchronisierenjinflow afs status # Branch, Tags, geaenderte Dateienjinflow afs pull # vom Remote pullenjinflow afs push -m "message" # committen + pushenjinflow afs pp # pull dann push in einem BefehlWeitere Befehle
Abschnitt betitelt „Weitere Befehle“jinflow stat # KLS-Statistiken und Gesundheitschecksjinflow sources # Quelldatei-Inventarjinflow purge millesime.domaine_zufferey --do-it # Bronze+Silver Tabellen entfernenjinflow snapshot post-audit # eigenstaendiges Einfrieren (kein Build)jinflow pack ls # Packs und Artefakte auflistenjinflow cloud sync --do-it # KLS-Dateien zu R2 hochladenjinflow instance refresh demo # Instanz anweisen, neu herunterzuladenjinflow version # Version anzeigenEvolve REPL
Abschnitt betitelt „Evolve REPL“| Befehl | Beschreibung |
|---|---|
SELECT ... | Beliebiges SQL ausfuehren |
/tenants | Tenants im KLS auflisten |
/schema <name> | DuckDB-Schema beschreiben |
/probes | Signals auflisten (auch /hypotheses, /diagnoses, /smebits) |
/read <type> <id> | Artefakt-YAML lesen |
/write <type> <id> <yaml> | Artefakt ins AFS schreiben |
/make [flags] | KLS neu bauen ohne REPL zu verlassen |
/ai | KI-Modus umschalten |
exit | Beenden |
Workflow
Abschnitt betitelt „Workflow“Der Kernkreislauf
Abschnitt betitelt „Der Kernkreislauf“ jinflow make KLS bauen ↓ jinflow explore Findings im Web UI durchsuchen ↓ jinflow evolve Fragen stellen, Muster entdecken, Signals hinzufuegen ↓ /make Aus Evolve heraus neu bauenUmgebungsvariablen
Abschnitt betitelt „Umgebungsvariablen“| Variable | Zweck |
|---|---|
JINFLOW_LIVE | Live Root ueberschreiben |
JINFLOW_TENANT | Standard-Tenant ueberschreiben |
JINFLOW_DB_PATH | Expliziter KLS DuckDB-Pfad |
JINFLOW_AFS_ROOT | AFS Root (fuer Explorer) |
JINFLOW_SYSTEM_DB_PATH | System DB Pfad (optional) |
JINFLOW_DEPLOY_ROOT | Deploy Root fuer App-Paket |
ANTHROPIC_API_KEY | Claude API Key (fuer Evolve) |
v0.45.1 · built 2026-04-17 08:14 UTC