lib/souls/cli/gcloud/run/index.rb in souls-0.35.3 vs lib/souls/cli/gcloud/run/index.rb in souls-0.35.4
- old
+ new
@@ -12,9 +12,13 @@
def list(project_id: "")
project_id = Souls.configuration.project_id if project_id.blank?
system("gcloud run services list --project #{project_id}")
end
+
+ def get_endpoint(worker_name: "")
+ system("gcloud run services list | grep #{worker_name} | awk '{print $4}'")
+ end
end
end
end
end