From fc524583b18489711086ca55227855950cd4af95 Mon Sep 17 00:00:00 2001 From: Michal Date: Sun, 9 Aug 2026 22:09:56 +0100 Subject: [PATCH] chore(completions): regenerate after the epictask --criterion flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The guard test caught it, which is its job — the generator derives flags from the commander program, so any new option makes the committed files stale. Co-Authored-By: Claude Opus 5 (1M context) --- completions/mcpctl.bash | 2 +- completions/mcpctl.fish | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/completions/mcpctl.bash b/completions/mcpctl.bash index 8b4f96d..7363208 100644 --- a/completions/mcpctl.bash +++ b/completions/mcpctl.bash @@ -230,7 +230,7 @@ _mcpctl() { COMPREPLY=($(compgen -W "--project --content --content-file --description --criterion -h --help" -- "$cur")) ;; epictask) - COMPREPLY=($(compgen -W "--epic --project --description --depends-on -h --help" -- "$cur")) + COMPREPLY=($(compgen -W "--epic --project --description --criterion --depends-on -h --help" -- "$cur")) ;; task) COMPREPLY=($(compgen -W "--epictask --title --description --risk --repo -h --help" -- "$cur")) diff --git a/completions/mcpctl.fish b/completions/mcpctl.fish index ec047eb..68e7356 100644 --- a/completions/mcpctl.fish +++ b/completions/mcpctl.fish @@ -385,6 +385,7 @@ complete -c mcpctl -n "__mcpctl_subcmd_active create epic" -l criterion -d 'Done complete -c mcpctl -n "__mcpctl_subcmd_active create epictask" -l epic -d 'Parent Epic' -x complete -c mcpctl -n "__mcpctl_subcmd_active create epictask" -l project -d 'Disambiguate the Epic by project' -xa '(__mcpctl_project_names)' complete -c mcpctl -n "__mcpctl_subcmd_active create epictask" -l description -d 'Description' -x +complete -c mcpctl -n "__mcpctl_subcmd_active create epictask" -l criterion -d 'Done-criterion "id=text" (repeat); the id must match one on the parent Epic, and prefix with q: for a quality criterion' -x complete -c mcpctl -n "__mcpctl_subcmd_active create epictask" -l depends-on -d 'Prerequisite epictask in the same Epic (repeat)' -x # create task options