@zowieteam/functions
v0.1.8
Published
Zowie Functions SDK & CLI
Readme
@zowieteam/functions
The Zowie Functions SDK & CLI (zowie). Author custom functions for the Zowie
customer-service automation platform locally in TypeScript, test them without a
live conversation, and push versioned bundles to your Zowie instance from the
terminal.
Requirements
- Node.js 18+
Getting started
npm install -g @zowieteam/functions
zowie auth login # authenticate against your Zowie instance
zowie init my-functions # scaffold a project (imports existing functions if any)
cd my-functions && npm installEveryday commands:
zowie functions create <name> # scaffold a new function
zowie functions test # run function tests locally (-w to watch)
zowie functions run <name> # execute a function locally (--mock <scenario>)
zowie functions validate # check files against push requirements
zowie functions push -m "..." # push to the platform's Staging
zowie functions publish # promote the staging version to Live
zowie functions status # compare local state with the platformRun zowie docs for the full SDK and command reference, and
zowie <command> --help for flags. Shell completions are available via
zowie completion (zsh|bash) — e.g. add source <(zowie completion zsh) to
your .zshrc.
Working on this repo itself? See DEVELOPMENT.md.
