Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

completion_server: support "cylc set" arguments #34

Conversation

oliver-sanders
Copy link

  • Support the --pre and --out arguments to cylc set.
  • This requires the task ID(s) to be provided before the --pre / --out option because otherwise we don't have the required information to complete the arguments.
  • This lists prereqs/outputs from cylc show which is currently restricted to n=1 tasks.
  • This does not support completing comma separared prereqs/outputs, use the --pre / --out options multiple times to do this.

* Support the `--pre` and `--out` arguments to `cylc set`.
* This requires the task ID(s) to be provided *before* the `--pre` /
  `--out` option because otherwise we don't have the required
  information to complete the arguments.
* This lists prereqs/outputs from `cylc show` which is currently
  restricted to n=1 tasks.
* This does not support completing comma separared prereqs/outputs, use
  the `--pre` / `--out` options multiple times to do this.
@hjoliver
Copy link
Owner

Brilliant, thanks for this - taking it.

This requires the task ID(s) to be provided before the --pre / --out option because otherwise we don't have the required information to complete the arguments

Right, I guess that's a good reason to arrange CLI args and options as Ronnie prefers it. We should document that in the CLI help.

@hjoliver hjoliver merged commit 1b27fbb into hjoliver:cylc-set-task Nov 15, 2023
19 of 23 checks passed
@oliver-sanders oliver-sanders deleted the completion-server-cylc-set-support branch November 15, 2023 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants