class Artoo::Commands::Commands

Public Class Methods

banner(command, namespace = nil, subcommand = false) click to toggle source
install_dir() click to toggle source
# File lib/artoo/commands/commands.rb, line 15
def self.install_dir
  "#{ install_path }/.artoo/commands"
end
install_path() click to toggle source
# File lib/artoo/commands/commands.rb, line 19
def self.install_path
  ENV["GEM_HOME"] || ENV["RBENV_ROOT"] || Dir.home(Etc.getlogin)
end