CLI JSON updates (#962)

See Changelog for details.
This commit is contained in:
Jeff Mitchell authored and GitHub committed 2021-02-25 12:43:17 -05:00
1 parent b967ff7f05
commit 72aa110f72
50 files changed
+489 -540

No files matched your search

+2 -2
View File
@@ -22,12 +22,12 @@ function assoc_group_acct() {
function group_id() {
local group=$1
strip $(list_groups | jq -c ".[] | select(.name | contains(\"$group\")) | .[\"id\"]")
strip $(list_groups | jq -c ".items[] | select(.name | contains(\"$group\")) | .[\"id\"]")
}
function group_member_ids() {
local gid=$1
boundary groups read -id $gid -format json | jq '.["members"][]["id"]'
boundary groups read -id $gid -format json | jq '.item["members"][]["id"]'
}
function group_has_member_id() {