From d4bf059943ae40bc0459a78555286f4fea944bd7 Mon Sep 17 00:00:00 2001 From: TQ X Date: Thu, 14 Dec 2023 08:59:07 -0500 Subject: [PATCH] Update bash auto-completion (#198) - Rename `run` to `upgrade` - Replace `--no-interactive` with `--auto-approve` and remove `--interactive` - Drop `--parallel` option because we will always run steps in parallel where possible --- completions/bash/cou_bash_completion | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/completions/bash/cou_bash_completion b/completions/bash/cou_bash_completion index 3760feba..423ee8a8 100644 --- a/completions/bash/cou_bash_completion +++ b/completions/bash/cou_bash_completion @@ -5,13 +5,13 @@ _subcommand_args() { opts="--help --quiet --verbose --model --backup --no-backup" child_commands="" ;; - run) - opts="--help --quiet --verbose --parallel --model --interactive --no-interactive --backup --no-backup" + upgrade) + opts="--help --quiet --verbose --model ---auto-approve --backup --no-backup" child_commands="" ;; help) opts="" - child_commands="plan run" + child_commands="plan upgrade" ;; *) opts="" @@ -28,7 +28,7 @@ _cou_bash_completion() { top_opts="--help --version" # Define the available subcommands - subcommands="plan run help" + subcommands="plan upgrade help" # Define completion for top-level options and subcommands if [ $COMP_CWORD -eq 1 ]; then