Sha256: b8336205bbb26b92aa0b2d3f82bca6971c01961cd92f6e3a932e2a9589f7a534
Contents?: true
Size: 817 Bytes
Versions: 2
Compression:
Stored size: 817 Bytes
Contents
require "open-uri" require "open_uri_redirections" require "progressbar" require_relative "../../progress_bar" require "thor" module Codelation class Cli < Thor private # Install an Atom package # @param [String] package def apm_install(package) print_command("Installing #{package}") `/Applications/Atom.app/Contents/Resources/app/apm/bin/apm install #{package}` end # Install Atom.app Packages def install_atom_packages packages = %w( erb-snippets linter linter-csslint linter-erb linter-jshint linter-php linter-rubocop linter-ruby linter-scss-lint linter-shellcheck remote-atom ) packages.each do |package| apm_install(package) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
codelation-cli-0.0.14 | lib/codelation/development/atom_packages.rb |
codelation-cli-0.0.13 | lib/codelation/development/atom_packages.rb |