Sha256: 6ba768c4d9d612e01d535779ad8095992919eaf4eccc8f6f21a1e2ab7b456465
Contents?: true
Size: 642 Bytes
Versions: 14
Compression:
Stored size: 642 Bytes
Contents
# frozen-string-literal: true module Rodbot class CLI module Commands class Deploy < Rodbot::CLI::Command desc 'Print the deploy configuration' argument :hosting, values: Rodbot::HOSTINGS, required: true, desc: 'Which hosting to use' option :split, type: :boolean, default: false, desc: "Whether to split into individual services" def rescued_call(hosting:, split:, **) dir = [hosting, ('split' if split)].compact.join('-') Rodbot::Generator .new(Rodbot.env.gem.join('lib', 'templates', 'deploy', dir)) .display end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems