Sha256: eadec7cd70f3380061352c815b56b6713992117dbfff0a5b65cd9810abfa2cdb
Contents?: true
Size: 504 Bytes
Versions: 80
Compression:
Stored size: 504 Bytes
Contents
module Souls class Pubsub < Thor desc "create_topic", "Create Google Cloud Pubsub Topic" method_option :topic_name, default: "send-user-mailer", aliases: "--topic_name", desc: "Google Cloud Pubsub Topic Name" def create_topic system("gcloud pubsub topics create #{options[:topic_name]}") end desc "topic_list", "Show Google Cloud Topic List" def topic_list system("gcloud pubsub topics list") end end end
Version data entries
80 entries across 80 versions & 1 rubygems