Sha256: f069a587280bb56407ad2a63a0dc4443df68c9d6916dd46dc0ca7f80d78f5bb2

Contents?: true

Size: 384 Bytes

Versions: 3

Compression:

Stored size: 384 Bytes

Contents

require "bard/cli/command"
require "bard/provision"

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bard-1.3.7 lib/bard/cli/provision.rb
bard-1.3.6 lib/bard/cli/provision.rb
bard-1.3.5 lib/bard/cli/provision.rb