Commands
The CLI is organised into command groups, each covering one area of the platform. Every command supports --help for exhaustive usage, so this page is a map rather than a reference.
Get help for a specific command
Command groups
| Command | Description |
|---|---|
| diafunc auth | Log in (OIDC device-code or API token), log out, inspect the current session, and manage API tokens. |
| diafunc whoami | Show the currently authenticated user. |
| diafunc config | Edit defaults and switch between profiles. |
| diafunc project | Create, list, update, and lock/unlock projects; manage their members; list recently accessed projects. |
| diafunc group | Create, list, update, and delete groups; manage their members and the projects shared with them. |
| diafunc entity | Create, read, update, and delete entities; upload and download content; inspect history and revert to an earlier version. |
| diafunc entity-branch | List and create parallel branches of a single entity. |
| diafunc link | Create and manage links between entities. |
| diafunc event | Create and list events on entities. |
| diafunc branch | Branch, merge, and fork entities and projects. |
| diafunc table | View, import, and export table data; operate on individual rows, columns, and cells. |
| diafunc data-sources | Manage scheduled DataSource imports (Google Sheets, S3 URL, JDBC): list, get, create, update, delete, refresh, inspect runs, and list connector types. |
| diafunc function | Execute functions and develop them: create, read and write source, open the source in your $EDITOR, and inspect evaluations, outputs, and logs. |
| diafunc shell | Interactive REPL for evaluating function code, with a multi-line editor and language switching. |
| diafunc trigger | Create and manage triggers that fire functions in response to events. |
| diafunc schedule | Schedule function execution on a cron expression and list or stop scheduled runs. |
| diafunc chat | Talk to the Diafunc assistant. Runs as an interactive REPL by default, and supports blocking and streaming responses, file uploads, and full session management. |
| diafunc search | Search entities across projects. |
| diafunc analyze | Run the automatic analysis wizard against a local dataset, and list, inspect, live-watch, or open past analyses. |
| diafunc subscription | View your current and upcoming subscription, and browse available plans. |
| diafunc invoice | List and download invoices. |
| diafunc utilization | Show current credit utilization and historical usage. |
| diafunc status | Inspect platform health: summary, per-component status, and open incidents. |
| diafunc completion | Emit shell completions for bash, zsh, and fish. |
| diafunc update | Update the CLI to the latest released version. |
| diafunc uninstall | Remove the CLI binary and, optionally, its config from this machine. |