Sha256: 80fbe3be34f841d8eb007db2ee5a93b9c1372d9e3495312b85dcc15c5c8a7ed2

Contents?: true

Size: 382 Bytes

Versions: 4

Compression:

Stored size: 382 Bytes

Contents

require "bard/provision"

module Bard::CLI::Provision
  def self.included mod
    mod.class_eval do

      desc "provision [ssh_url]", "takes an ssh url to a raw ubuntu 22.04 install, and readies it in the shape of :production"
      def provision ssh_url
        Bard::Provision.call(config, ssh_url.dup) # dup unfreezes the string for later mutation
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bard-1.0.5 lib/bard/cli/provision.rb
bard-1.0.4 lib/bard/cli/provision.rb
bard-1.0.3 lib/bard/cli/provision.rb
bard-1.0.2 lib/bard/cli/provision.rb