Metadata-Version: 2.4
Name: flowbase-cli
Version: 0.1.6
Summary: Command line client for the FlowBase OpenAPI
Author: DeepFlowAI
License: Apache-2.0
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# FlowBase CLI

Install from this checkout:

```bash
python -m pip install ./packages/flowbase-cli
```

Configure an environment Base URL and an API key:

```bash
export FLOWBASE_HOST=https://flowbase-test-a.deepflowagent.com
export FLOWBASE_API_KEY=fbk_xxx

flowbase objects list
flowbase views list obj_xxx
flowbase views create obj_xxx --json-file view.json
flowbase pages list --object-id obj_xxx
flowbase pages create --json-file page.json
flowbase records create obj_xxx --json '{"values":{"name":"Example"}}'
flowbase versions list --resource customer --change-type business-change
flowbase versions show abc1234
flowbase versions releases
flowbase changes commit --message "Add customer field" --yes
flowbase changes release --message "Release customer field" --yes
flowbase environments restart --confirm "A 测试环境" --yes
flowbase docs list
```

`--host` selects the environment through its Host. Version history commands are read-only and limited to the history visible from that Host; production release records are available only on the production Host. A test release can succeed only when its current version meets FlowBase's fast-forward checks. `environments restart` first shows a destructive preflight and then clears the current test configuration and records before starting from the latest production version. The CLI never accepts a separate environment override and never stores API keys on disk. See `flowbase --help` and `flowbase docs list` for the complete command set.
