CLI for Windmill
npm install windmill-cliA simple CLI allowing interactions with windmill from the command line.

You can find more information in
Windmill Docs
Install the wmill CLI tool using npm install -g windmill-cli.
Update to the latest version using wmill upgrade.
To get started run wmill workspace add or use the instructions from the
workspace settings.
Run a script or flow using wmill flow/script run u/username/path/to/script and
pass any inputs using --data + Inputs specified as a JSON string or a file
using @ or stdin using @-.
Curl-style syntax using -d @- for stdin or -d @ is also supported.
Flow Steps and Logs will be streamed during execution automatically.
The CLI can push specifications to a windmill instance. See the
examples/ folder for formats.
```
wmill workspace switch
``
wmill sync pull
``
wmill sync push
We recommend using the --yaml option to use yaml instead of json as the encoding
format. Yaml will be made the default soon.
You can push individual resources using
wmill . This does not require a special
folder layout or file name, as this is given at runtime.
All commands support listing by just not providing a subcommand, ie
wmill script will result in a list of scripts. Some allow additional options,--help
learn about this by specifying .
You can add & remove users via wmill user add/remove, and list them usingwmill user
You can pull the entire workspace using wmill pull
The CLI comes with completions out of the box via wmill completions .
(Via cliffy)
To enable bash completions add the following line to your ~/.bashrc:
``
source <(wmill completions bash)
To enable fish completions add the following line to your
~/.config/fish/config.fish:
``
source (wmill completions fish | psub)
To enable zsh completions add the following line to your ~/.zshrc:
``
source <(wmill completions zsh)
Prerequisites:
- PostgreSQL running locally (default: postgres://postgres:changeme@localhost:5432)
- Rust toolchain installed
Run tests locally (full features):
`bash`
deno test --allow-all --no-check
Run tests in CI mode (minimal features, skips EE tests):
`bash`
CI_MINIMAL_FEATURES=true deno test --allow-all --no-check
| Variable | Description |
|----------|-------------|
| CI_MINIMAL_FEATURES | Set to true to skip EE-dependent tests |DATABASE_URL
| | PostgreSQL connection string |EE_LICENSE_KEY` | Enterprise license key for EE features |
|