Skip to main content

buildify-cli

CLI for the Buildify open API (buildify-open-api-server): discover installed bundle nodes, read their form schemas and documentation, reference workspace credentials, and create, validate, test run and deploy workflows — all with a machine API key, no browser session.

workflow deploy publishes a draft to workers that are already bound to the flow. It does not pick servers. Credentials can be created with project create-credential after the user confirms the project, name/label and form values.

For publishing bundle JARs see the sibling buildify-publish-cli.

Install

pip install buildify-cli      # or pipx / uv tool install
buildify help                 # full Markdown reference on stdout

Requires Python 3.10+.

Configure

Create a key in the console (workspace settings → Open API keys). The full keyId.secret is shown only once. One key belongs to one workspace. Save each workspace under its own profile:

printf '%s' 'keyId.secret' | buildify config add-profile acme
buildify config set-key base_url https://openapi.buildify.cn
buildify --json key test
buildify --json config profiles

add-profile does not change the default. config use <name> does, for a person at the terminal. Agents should pass --profile <name> instead. A repo may commit .buildify-workspace with only the public workspace id (tenantId from key test).

If a command runs with no key: a TTY prompts and saves locally; --json / non-TTY exits 2 with data.reason=missing_api_key. Several saved keys and no selection exits 2 with data.reason=profile_required.

Config lives in the [openapi] section of ~/.buildifyrc (mode 600). Do not pass --api-key on the command line, and do not commit the rc file or paste the secret into the repo. BUILDIFY_OPENAPI_BASE_URL and BUILDIFY_OPENAPI_API_KEY override the file at runtime. BUILDIFY_OPENAPI_PROFILE selects a saved profile. BUILDIFY_OPENAPI_NO_PROMPT=1 disables the interactive prompt. config set-key api_key still updates the current profile, or the legacy single key.

Commands

Group Commands
— health, version, help
key test
bundle list, nodes, node-properties, node-relations, doc, cred-types, cred-properties
project list, create, get, update, delete, credentials, create-credential, update-credential, delete-credential, credential-workflows, workers
workflow list, create, get-draft, save-draft, validate, test-run, cancel-test, deploy, published, deployments, deployment, versions, get-version
config init, set-key, add-profile, use, profiles, remove-profile, show

Every command accepts --json for a single-line envelope ({ok, code, msg, http_status, data}) and maps failures onto stable exit codes: 0 ok, 1 generic, 2 auth/config, 3 local validation, 4 HTTP 4xx/5xx or validation errors, 5 network.

Example

buildify --json bundle nodes -b official/core
buildify --json bundle node-properties -b official/core -n HttpRequestNode
buildify --json workflow validate -p proj_xxx -f ./flow.json
buildify --json workflow test-run -p proj_xxx -f ./flow.json --worker wk_xxx
buildify --json workflow deploy -p proj_xxx -w wf_xxx --worker wk_xxx --wait

Development

uv venv && uv pip install -e '.[dev]'
python -m buildify_cli --help

src/buildify_cli/usage.md is the source of truth for buildify help; keep this README aligned for humans.

Metadata

Release files for buildify-cli 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for buildify-cli 1.2.0
File Size Uploaded Provenance Actions
buildify_cli-1.2.0.tar.gz 38.9 kB Without provenance Details for buildify_cli-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for buildify-cli 1.2.0
File Interpreter ABI Platform Actions
buildify_cli-1.2.0-py3-none-any.whl Python 3 none any Details for buildify_cli-1.2.0-py3-none-any.whl

Total release size: 77.0 kB

Release files / buildify_cli-1.2.0.tar.gz

Download URL buildify_cli-1.2.0.tar.gz
Size 38.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c4da1bc899fe3343d4bf859a2da5bd56798a0aa93177a631d5bbdbd43b996e47
BLAKE2b-256 checksum
How to use checksums
dd4e820d2936b128de086c3d87f12ffe67883fd2109ec0c41d18518cf0a040a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / buildify_cli-1.2.0-py3-none-any.whl

Download URL buildify_cli-1.2.0-py3-none-any.whl
Size 38.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61ebc9cd4e7b3074b573ad478e964588e2b9d98a7e2577f960f498829d4e05fa
BLAKE2b-256 checksum
How to use checksums
8c6e79f2c044070c44655e675a41173c9e922b95d40554115285a6724f0ff447
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for buildify-cli 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page