WindmillWWindmill
Powered by
aurelienbrabantA
Windmill•3y ago•
14 replies
aurelienbrabant

[CLI] --debug conflicts with --data in short option form for wmill flow run

wmill flow run some_flow -d '{ "someId": "f14661818ab7a5cf917ff1c17a663de" }'
Debug logging enabled. CLI build against v1.138.0

Usage:   wmill flow run <path>
Version: v1.138.0

Description:

  run a flow by path.

Options:

  -h, --help                 - Show this help.
  --workspace   <workspace>  - Specify the target workspace. This overrides the default workspace.
  -d, --debug                - Show debug logs
  --show-diffs               - Show diff informations when syncing (may show sensitive informations)
  --token       <token>      - Specify an API token. This will override any stored token.
  -d, --data    <data>       - Inputs specified as a JSON string or a file using @<filename> or stdin using @-.
  -s, --silent               - Do not ouput anything other then the final output. Useful for scripting.

  error: Too many arguments: { "someId": "f14661818ab7a5cf917eff1c17a663de" }
wmill flow run some_flow -d '{ "someId": "f14661818ab7a5cf917ff1c17a663de" }'
Debug logging enabled. CLI build against v1.138.0

Usage:   wmill flow run <path>
Version: v1.138.0

Description:

  run a flow by path.

Options:

  -h, --help                 - Show this help.
  --workspace   <workspace>  - Specify the target workspace. This overrides the default workspace.
  -d, --debug                - Show debug logs
  --show-diffs               - Show diff informations when syncing (may show sensitive informations)
  --token       <token>      - Specify an API token. This will override any stored token.
  -d, --data    <data>       - Inputs specified as a JSON string or a file using @<filename> or stdin using @-.
  -s, --silent               - Do not ouput anything other then the final output. Useful for scripting.

  error: Too many arguments: { "someId": "f14661818ab7a5cf917eff1c17a663de" }


According to the displayed help -d maps to both --debug and --data options but practically only applies debug.

Should it help output of
wmill version
wmill version
is
CLI build against v1.138.0
Cannot resolve Backend Version
CLI build against v1.138.0
Cannot resolve Backend Version
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

[CLI] --silent still printing unwanted logs using wmill flow run
aurelienbrabantAaurelienbrabant / help
3y ago
wmill cli sync error
SindreSSindre / help
3y ago
Inconsistent Secret Encryption in `wmill instance pull` with `WMILL_INSTANCE_LOCAL_ENCRYPTION_KEY`
alllex229Aalllex229 / help
4mo ago
Execute a script for each flow run
DaanDDaan / help
15mo ago