Sha256: 217d937320f794b300225526ddc0c3c979e062ad7ea3049f6b5bc0f41aed4b13

Contents?: true

Size: 435 Bytes

Versions: 4

Compression:

Stored size: 435 Bytes

Contents

require "thor/group"

class Init < Thor::Group
  include Thor::Actions
    
  def self.source_root
    File.expand_path('../templates',__dir__)
  end

  def project_structure
    empty_directory "docker/apps"
    empty_directory "docker/attic"
    empty_directory "docker/backup"
    empty_directory "docker/base_images"
    directory "admin","docker/admin"
    empty_directory "docker/ci_runner"
    puts `git init docker`
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dockersitter-0.2.2 lib/commands/init.rb
dockersitter-0.2.1 lib/commands/init.rb
dockersitter-0.2.0 lib/commands/init.rb
dockersitter-0.1.0 lib/commands/init.rb