func format(rtype string) string {
	splits := strings.Split(rtype, "-")
	return splits[len(splits)-1]
}
func format(rtype string) string {
	splits := strings.Split(rtype, "-")
	return splits[len(splits)-1]
}
// TODO(amwat): remove this logic when we get rid of --project.