Sha256: 7637e22595dea2fdf4d8e1e5d6b4bb306fbe06faa078ac081794ece95481c426
Contents?: true
Size: 839 Bytes
Versions: 10
Compression:
Stored size: 839 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( linter linter-csslint linter-erb linter-jshint linter-php linter-rubocop linter-ruby linter-scss-lint linter-shellcheck pretty-json rails-snippets remote-atom ) packages.each do |package| apm_install(package) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems