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" }


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 is
CLI build against v1.138.0
Cannot resolve Backend Version
Was this page helpful?