UNCLASSIFIED - NO CUI

Skip to content

cmd/completion: use RunE instead of Run

Daniel Dides requested to merge dd/176-completion-errors into main

General MR

Summary

Easy one here, this function calls Cobra functions that don't really do anything. Quickly convert it to RunE and wrap the error. Fix the tests.

Relevant logs/screenshots

bbctl completion fish | head -n 5

# fish completion for bbctl                                -*- shell-script -*-

function __bbctl_debug
    set -l file "$BASH_COMP_DEBUG_FILE"
    if test -n "$file"

Linked Issue

Closes #176 (closed)

Upgrade Notices

N/A

Merge request reports