dev, dev:build, dev:add, and dev:typecheck, the yarn twenty CLI provides commands for executing functions, viewing logs, and managing app installations.
Executing functions (yarn twenty dev:function:exec)
Run a logic function manually without triggering it via HTTP, cron, or database event:
Viewing function logs (yarn twenty dev:function:logs)
Stream execution logs for your app’s logic functions:
This is different from
yarn twenty docker:logs, which shows the Docker container logs. yarn twenty dev:function:logs shows your app’s function execution logs from the Twenty server.Generating the typed client (yarn twenty dev:generate-client)
Regenerate the typed API client (twenty-client-sdk) from the active remote’s schema, without building or syncing an app. Use it to get a typed client in any project — like a backend service living in a separate repository — that talks to your Twenty instance:
The client is generated inside
node_modules, so it is not committed with your code. Run yarn twenty dev:generate-client after every install (for example in a postinstall script or in CI).Uninstalling an app (yarn twenty app:uninstall)
Remove your app from the active workspace:
Managing remotes
A remote is a Twenty server that your app connects to. During setup, the scaffolder creates one for you automatically. You can add more remotes or switch between them at any time.~/.twenty/config.json.