@floehq/cli
v0.2.1
Published
Command-line interface for the Floe API
Downloads
635
Readme
Floe CLI
@floehq/cli is the official command-line interface for the Floe API.
Install
npm install -g @floehq/cliOr run without a global install:
npx @floehq/cli --helpCommands
floe upload ./video.mp4
floe upload status <uploadId>
floe upload cancel <uploadId>
floe upload complete <uploadId>
floe upload wait <uploadId>
floe file metadata <fileId>
floe file manifest <fileId>
floe file stream-url <fileId>
floe ops health
floe config show
floe config path
floe config set base-url https://api.floehq.com/v1
floe config unset api-keyShortcuts are also supported for the most common lookups:
floe status <uploadId>
floe cancel <uploadId>
floe metadata <fileId>
floe manifest <fileId>
floe stream-url <fileId>Config
The CLI can persist defaults in a local config file. Precedence is:
flags > environment variables > config file > defaultsSupported persistent keys:
base-url
api-key
bearer
owner-address
auth-user
wallet-addressExamples:
floe config path
floe config set base-url https://api.floehq.com/v1
floe config set api-key sk_live_xxx
floe config unset api-key