Skip to main content
Documentation

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

CommandDescription
diafunc authLog in (OIDC device-code or API token), log out, inspect the current session, and manage API tokens.
diafunc whoamiShow the currently authenticated user.
diafunc configEdit defaults and switch between profiles.
diafunc projectCreate, list, update, and lock/unlock projects; manage their members; list recently accessed projects.
diafunc groupCreate, list, update, and delete groups; manage their members and the projects shared with them.
diafunc entityCreate, read, update, and delete entities; upload and download content; inspect history and revert to an earlier version.
diafunc entity-branchList and create parallel branches of a single entity.
diafunc linkCreate and manage links between entities.
diafunc eventCreate and list events on entities.
diafunc branchBranch, merge, and fork entities and projects.
diafunc tableView, import, and export table data; operate on individual rows, columns, and cells.
diafunc data-sourcesManage scheduled DataSource imports (Google Sheets, S3 URL, JDBC): list, get, create, update, delete, refresh, inspect runs, and list connector types.
diafunc functionExecute functions and develop them: create, read and write source, open the source in your $EDITOR, and inspect evaluations, outputs, and logs.
diafunc shellInteractive REPL for evaluating function code, with a multi-line editor and language switching.
diafunc triggerCreate and manage triggers that fire functions in response to events.
diafunc scheduleSchedule function execution on a cron expression and list or stop scheduled runs.
diafunc chatTalk to the Diafunc assistant. Runs as an interactive REPL by default, and supports blocking and streaming responses, file uploads, and full session management.
diafunc searchSearch entities across projects.
diafunc analyzeRun the automatic analysis wizard against a local dataset, and list, inspect, live-watch, or open past analyses.
diafunc subscriptionView your current and upcoming subscription, and browse available plans.
diafunc invoiceList and download invoices.
diafunc utilizationShow current credit utilization and historical usage.
diafunc statusInspect platform health: summary, per-component status, and open incidents.
diafunc completionEmit shell completions for bash, zsh, and fish.
diafunc updateUpdate the CLI to the latest released version.
diafunc uninstallRemove the CLI binary and, optionally, its config from this machine.

What next?