TIMOB-14641 fixed cli to warn user if a target has not been selected