function users-not-in-group --argument group
    if empty "$group"
        usage users-not-in-group '<group>'
        return (false)
    end

    comm -13 (users-in-group $group | psub) (get iam/users | psub)
end

Add function to find users not in a group
Add function to find users not in a group

colstrom/piranha,colstrom/shellops-aws