moreflow modules
List the operation modules.
Aufruf
moreflow modules
Prints { modules: [...] }: every module id. Pass one to moreflow find --module.
Beispiele
moreflow modulesDeine Privatsphäre, deine Wahl
Optionale Analyse- und Werbedienste (einschließlich Meta Pixel und Google Ads bei der Registrierung) nutzen wir nur mit deiner Einwilligung. Notwendige Sprach- und Sicherheitsfunktionen bleiben immer aktiv. Datenschutz
@moreflow/cli führt dieselben Operationen wie der moreflow-MCP-Server direkt im Terminal aus. Operation finden, Vertrag lesen, mit JSON aufrufen. Gemacht für Skripte, CI-Jobs, Massenexporte und Coding-Agents, die in der Shell arbeiten.
@moreflow/cli@0.1.0Vollständige Entwickler-DokuOhne Installation ausführen:
npx @moreflow/cli@0.1.0Oder global installieren:
npm install -g @moreflow/cli@0.1.0Damit steht der Befehl moreflow im Terminal bereit. Ohne Installation stellst du jedem Befehl stattdessen npx @moreflow/cli voran.
npm install -g @moreflow/cli@0.1.0Ein Browserfenster öffnet sich. Melde dich bei moreflow an, wähle den Workspace und lege fest, welche Bereiche die CLI nutzen und wie viel sie ohne Rückfrage ändern darf.
moreflow auth login --oauthZeig die Module an, etwa Kunden, Deals oder Rechnungen.
moreflow modulesSuch in normalen Worten. Du siehst nur Operationen, die deine Anmeldung erlaubt.
moreflow find send invoiceEingabeschema, Beispiel-Eingaben, mögliche Fehler und ob ein Schreibzugriff eine Bestätigung braucht.
moreflow describe clients.createÜbergib die Eingabe als JSON. Bei Listen holt die CLI auf Wunsch alle Seiten.
moreflow call clients.list '{"limit":5}'
moreflow call clients.list --all --max-items 200Auf deinem eigenen Rechner meldest du dich im Browser an, auf Servern und in CI mit einem API-Token. Gespeicherte Zugangsdaten liegen in einer Datei, die nur du lesen kannst.
Browser login
Sign in through the browser; the person chooses what the CLI may do.
moreflow auth login --oauthAPI token profile
Save an API token as a profile (asks for it, or reads stdin).
moreflow auth loginAPI token in the environment
Use a token for one shell without saving it.
MOREFLOW_API_TOKENProfile selection
Pick a saved profile per command; moreflow auth use sets the active one.
--profile <name>Sind mehrere gesetzt, nutzt ein Befehl sie in dieser Reihenfolge:
--profileMOREFLOW_API_TOKENMOREFLOW_PROFILEthe active profileMOREFLOW_API_TOKENMOREFLOW_PROFILEMOREFLOW_API_BASE_URLBeide führen dieselben moreflow-Operationen mit denselben Berechtigungen aus. Entscheidend ist, wo die Arbeit passiert.
| CLI | MCP-Server | |
|---|---|---|
| Ideal für | Skripte, CI-Jobs, Massenexporte, Coding-Agents mit Shell | Chat-Assistenten wie Claude und ChatGPT |
| Ausgabe | JSON auf stdout, bereit für Pipes, Dateien und jq | Antworten direkt im Chat |
| Große Abfragen | Holt alle Seiten einer Liste in eine Datei | Eine Seite pro Tool-Aufruf |
| Anmeldung | Browser-Login oder gespeicherter API-Token | OAuth-Connector oder API-Token |
| Fehler | Stabile Exit-Codes für Skripte | Fehlermeldungen für den Assistenten |
Erzeugt aus derselben Spezifikation wie moreflow --help. Die Referenz ist auf Englisch, genau wie die Ausgabe der CLI.
List the operation modules.
Aufruf
moreflow modules
Prints { modules: [...] }: every module id. Pass one to moreflow find --module.
Beispiele
moreflow modulesSearch operations.
Aufruf
moreflow find [query] [--module <id>] [--limit <n>]
Searches the operations this credential can see, best match first. Without a query it lists them by id. Prints { items, nextCursor }; each item has the id, name, summary, kind and effect.
Optionen
--module <id>--limit <n>Beispiele
moreflow find send invoice
moreflow find --module clients --limit 100Input, examples, errors and safety of one operation.
Aufruf
moreflow describe <operationId> [--related] [--full]
Prints the live contract of one operation: description, effect and whether it needs confirmation, the input JSON Schema, example inputs and declared errors with their recovery.
Optionen
--related--fullBeispiele
moreflow describe clients.create
moreflow describe clients.create --relatedRun an operation.
Aufruf
moreflow call <operationId> [input] [options]
Runs one operation. input is a JSON object: inline, @file, or - for stdin. Omit it for an operation without required input.
Optionen
--all--max-items <n>--idempotency-key <key>--confirm--approval-token <token>Beispiele
moreflow call clients.list '{"limit":5}'
moreflow call clients.list --all --max-items 200
moreflow call clients.create '{"firstName":"Ada","lastName":"Lovelace"}'The account and grant the credential acts as.
Aufruf
moreflow whoami
Asks the API which account and grant the current credential acts as, and prints { profile, tokenSource, baseUrl, caller }. Run it before a write when more than one token is in play.
Beispiele
moreflow whoamiManage saved credential profiles.
Aufruf
moreflow auth login [--oauth [--no-browser]] [--profile <name>] [--base-url <url>] moreflow auth status moreflow auth use <profile> moreflow auth logout [--profile <name>]
Saved credential profiles, kept in a file only you can read.
Optionen
--oauth--no-browserUnterbefehle
moreflow auth login --oauthmoreflow auth loginmoreflow auth statusmoreflow auth usemoreflow auth logoutA command uses, in this order: --profile, MOREFLOW_API_TOKEN, MOREFLOW_PROFILE, the active profile.
Beispiele
moreflow auth login --oauth
moreflow auth login --oauth --profile dev --base-url https://dev-api.moreflow.io
moreflow auth status
moreflow auth use dev
moreflow auth logout --profile dev--profile <name>--base-url <url>--timeout-ms <n>--max-retries <n>--help--versionSkripte können am Exit-Code verzweigen, statt Fehlertexte auszuwerten.
| Code | Kategorie | Bedeutung |
|---|---|---|
| 0 | OK | Success |
| 1 | INTERNAL | Internal error |
| 2 | USAGE | Wrong command line; nothing was sent |
| 3 | UNAUTHENTICATED | Unauthenticated |
| 4 | PERMISSION_DENIED | Permission denied (scope, plan or policy) |
| 5 | NOT_FOUND | Not found |
| 6 | INVALID_ARGUMENT | Invalid argument |
| 7 | FAILED_PRECONDITION | Failed precondition, including a required confirmation |
| 8 | CONFLICT | Conflict |
| 9 | RESOURCE_EXHAUSTED | Rate or quota limit |
| 10 | UNAVAILABLE | Unavailable (network, timeout or server failure) |
@moreflow/cli ist das offizielle Kommandozeilen-Tool von moreflow. Es ruft die moreflow-Operations-API aus der Shell auf: dieselben Operationen, die ein KI-Assistent über MCP nutzt, mit JSON rein und JSON raus.
Nicht zum Chatten. Für Claude, ChatGPT und andere Chat-Assistenten passt der MCP-Server besser. Die CLI ist für Arbeit, die ein Chat schlecht kann: Tausende Datensätze in eine Datei exportieren, geplante Skripte, CI-Jobs und Coding-Agents, die ohnehin im Terminal arbeiten.
Ja, in den Grenzen, die du setzt. Bei der Anmeldung wählst du die Bereiche und wie viel die CLI ohne Rückfrage ändern darf. Ein Schreibzugriff, der eine Bestätigung braucht, endet mit Exit-Code 7, bis du ihn freigibst, und jeder Schreibzugriff trägt einen Idempotenzschlüssel, sodass du einen fehlgeschlagenen Schreibzugriff wiederholen kannst, ohne ihn doppelt auszuführen.
Nein. API-, MCP- und CLI-Zugriff sind in jedem moreflow-Tarif enthalten, auch in der 14-tägigen Testphase.
Node.js mit npm. Starte sie mit npx oder installiere sie global mit npm und melde dich dann im Browser oder mit einem API-Token an.