Skip to content

softr-io/softr

v0.1.0MIT

Work with Softr from local files with the Softr CLI: build, test and publish Softr Workflows, and manage Softr Databases

softr-cli

Install, update and log in to the Softr CLI (@softr/cli, command softr), and use its account and workspace commands: whoami, workspaces, integrations. The CLI reaches Softr from the terminal, with a scope per area of Softr (softr workflows and softr db today, more to come), each with a skill of its own. Use when a Softr skill or the user needs the CLI, when "softr" is not found, when a login is needed, or to find the workspaces and the connected integrations a token reaches. Load before any softr command.

softr-db

Manage Softr Databases from the terminal with the softr db commands of the Softr CLI (@softr/cli): databases, their tables, fields and views, and their records, with one directory per database holding softr-db.jsonc and a schema cache with every table and field id. Use when the user wants to create or change a Softr database, table, field or record from the terminal or a repository, needs the ids of tables and fields (for example for a workflow), or mentions softr-db.jsonc or softr db. Load this before running any softr db command; the softr-cli skill covers install and login.

softr-workflows

Build, test and publish Softr Workflows from local files with the softr workflows commands of the Softr CLI (@softr/cli): one directory per workflow holding softr-workflows.jsonc and a real .js or .py file per Run custom code node, the init, add, push, test, outputs, verify, publish loop, and placeholders that reference other nodes' outputs. Use when the user wants to create, edit, test or publish a Softr workflow from the terminal or a repository, wants workflow logic as JavaScript or Python files, or mentions softr-workflows.jsonc or workflows in the Softr CLI. Load this before running any softr workflows command; the softr-cli skill covers install and login.