Files
threshold/internal/tests/cli/boundary/_generics.bash
T
dillanb-hashi e0c130a938 test(bats): Added bats tests for generic commands (#5677)
* test(bats): Added bats tests for generic commands
2025-04-24 08:29:49 -07:00

18 lines
332 B
Bash

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
export UPDATE_NAME='update'
function generic_read() {
boundary read $1 -format json
}
function generic_update_name() {
local id=$1
local name=$2
boundary update $id -name $name
}
function generic_delete() {
boundary delete $1 -format json
}