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; the same response includes tenantName).

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, schema, 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.4.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.4.0
File Size Uploaded Provenance Actions
buildify_cli-1.4.0.tar.gz 41.8 kB Without provenance Details for buildify_cli-1.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 82.9 kB

Release files / buildify_cli-1.4.0.tar.gz

Download URL buildify_cli-1.4.0.tar.gz
Size 41.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4644c5caefeaee28678f5bdfb1a23b686ad2e34fe2f1edf4231a52fc148cc64e
BLAKE2b-256 checksum
How to use checksums
55fc9fcde2f736bd324dc3fe95328eef58f3b9906fec1954555ad2fccbed31bb
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.4.0-py3-none-any.whl

Download URL buildify_cli-1.4.0-py3-none-any.whl
Size 41.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87bbb15f183059bbf2f64a486fbe6b6e41fe31790281f7c938db823af9ff40d0
BLAKE2b-256 checksum
How to use checksums
b45ee4c976e481e1863a39433e44c2625712c23b26c3173323fbeb729f5bcd36
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.4.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