Sha256: c19daa41eaa96cd3d3e3f4e4ffacfb068d0fc4f4bbc9d08f8bc5effe95f749f7

Contents?: true

Size: 299 Bytes

Versions: 21

Compression:

Stored size: 299 Bytes

Contents

require "thor"

module Codelation
  class Cli < Thor
    ATOM_APP_DOWNLOAD_URL = "https://atom.io/download/mac"

  private

    # Install Atom.app
    def install_atom
      zip_file_path = download_file(ATOM_APP_DOWNLOAD_URL)
      extract_app_from_zip("Atom.app", zip_file_path)
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
codelation-cli-0.0.22 lib/codelation/development/atom.rb
codelation-cli-0.0.21 lib/codelation/development/atom.rb
codelation-cli-0.0.20 lib/codelation/development/atom.rb
codelation-cli-0.0.19 lib/codelation/development/atom.rb
codelation-cli-0.0.18 lib/codelation/development/atom.rb
codelation-cli-0.0.17 lib/codelation/development/atom.rb
codelation-cli-0.0.16 lib/codelation/development/atom.rb
codelation-cli-0.0.15 lib/codelation/development/atom.rb
codelation-cli-0.0.14 lib/codelation/development/atom.rb
codelation-cli-0.0.13 lib/codelation/development/atom.rb
codelation-cli-0.0.12 lib/codelation/development/atom.rb
codelation-cli-0.0.11 lib/codelation/development/atom.rb
codelation-cli-0.0.10 lib/codelation/development/atom.rb
codelation-cli-0.0.9 lib/codelation/development/atom.rb
codelation-cli-0.0.8 lib/codelation/development/atom.rb
codelation-cli-0.0.7 lib/codelation/development/atom.rb
codelation-cli-0.0.6 lib/codelation/development/atom.rb
codelation-cli-0.0.5 lib/codelation/development/atom.rb
codelation-cli-0.0.4 lib/codelation/development/atom.rb
codelation-cli-0.0.3 lib/codelation/development/atom.rb