influx task update via stdin - unknown command
task create via stdin works. task update via stdin is listed as an option, but isn't accepted.
$ influx version Influx CLI 2.2.1 (git: 31ac783) build_date: 2022-01-02T12:05:34Z
$ influx task update NAME: influx task update - Update task status or script. Provide a Flux script via the first argument or a file.
USAGE: influx task update [command options] [flux script or '-' for stdin]
COMMON OPTIONS:
--host value HTTP address of InfluxDB [$INFLUX_HOST]
--skip-verify Skip TLS certificate chain and host name verification [$INFLUX_SKIP_VERIFY]
--configs-path value Path to the influx CLI configurations [$INFLUX_CONFIGS_PATH]
--active-config value, -c value Config name to use for command [$INFLUX_ACTIVE_CONFIG]
--http-debug
--json Output data as JSON [$INFLUX_OUTPUT_JSON]
--hide-headers Hide the table headers in output data [$INFLUX_HIDE_HEADERS]
--token value, -t value Token to authenticate request [$INFLUX_TOKEN]
OPTIONS: --id value, -i value task ID (required) --status value update tasks status --file value, -f value Path to Flux script file
Error: Required flag "id" not set
$ influx task update -id 1 - Error: unknown command "-" for "update"
create: https://github.com/influxdata/influx-cli/blob/85a33adf71b078a2099ab76c64f2adb04545efad/cmd/influx/task.go#L42
update: https://github.com/influxdata/influx-cli/blob/85a33adf71b078a2099ab76c64f2adb04545efad/cmd/influx/task.go#L177