StaticBackend CLI v1.7.1
This release adds a few day-to-day CLI commands and refreshes the generated
client-library reference files.
New commands
- Added
backend function run <name>for running server-side functions from the CLI. - Function runs can receive JSON with
--dataor--data-file. - Function runs can use the configured root token with
--use-root-token. - When a root token is available,
function runprints the latest run output by default. Use--output=falseto skip it. - Added
backend userscommands for listing, adding, and deleting application users.
Client library references
- Added
backend llmto write StaticBackend client-library reference files into the current directory. - Added JavaScript and Go client references.
- Added Node.js server-client support via
backend llm node, which writessb-node.md. - Updated the generated references to cover more of the client APIs.
CLI behavior
backend db,backend account, andbackend usersnow show their command help when run without a subcommand.- The config filename convention is now
backend.yml. - Removed colored output from commands, which makes logs and copied terminal output easier to read.
Dependencies
- Updated
github.com/staticbackendhq/backend-gotov1.7.0. - Updated Cobra and several transitive dependencies.
Install
npm install -g @staticbackend/cliNotes
If you already have a local config file using the old naming convention, rename it to backend.yml before relying on commands that read saved credentials.