cylc-flow icon indicating copy to clipboard operation
cylc-flow copied to clipboard

`cylc broadcast -k` does nothing

Open MetRonnie opened this issue 7 months ago • 1 comments

Description

The -k/--display-task option of cylc broadcast does nothing. There are no tests for it either.

Reproducible Example

$ cylc broadcast wflow -p 1 -n foo --set "script=echo 0"
Broadcast set:
+ [1/foo] script=echo 0

then

$ cylc broadcast wflow -k 1/foo

(nothing)

Expected Behaviour

This should work, producing similar output to the -d/--display option.

Alternatively, we could remove this option and instead just implement https://github.com/cylc/cylc-flow/issues/6873 which would make it easy to get the same result using e.g. the jq command

MetRonnie avatar Jul 23 '25 15:07 MetRonnie

Note #6873 has been implemented in #6892 now

We could remove the -k option and make it so --display works in combination with --name and --point

MetRonnie avatar Aug 29 '25 14:08 MetRonnie