#!/bin/bash
#purpose is to take bazel test and return chum URI
bazel_target=$1
base_command='./sim/argus_sim/run_sdl.sh '
remove_output=' 2>&1 | grep -A1 "Simulated Chum URI:" | tail -n1'
command=$base_command$bazel_target$remove_output
eval $command
