Class: Boilercode::Commands::Dotfiles

Inherits:
Thor
  • Object
show all
Defined in:
lib/boilercode/commands/dotfiles.rb,
lib/boilercode/commands/dotfiles/find.rb,
lib/boilercode/commands/dotfiles/download.rb

Defined Under Namespace

Classes: Download, Find

Instance Method Summary collapse

Instance Method Details

#downloadObject



13
14
15
16
17
18
19
20
# File 'lib/boilercode/commands/dotfiles.rb', line 13

def download(*)
  if options[:help]
    invoke :help, ["download"]
  else
    require_relative "dotfiles/download"
    Boilercode::Commands::Dotfiles::Download.new(options).execute
  end
end

#findObject



25
26
27
28
29
30
31
32
# File 'lib/boilercode/commands/dotfiles.rb', line 25

def find(*)
  if options[:help]
    invoke :help, ["find"]
  else
    require_relative "dotfiles/find"
    Boilercode::Commands::Dotfiles::Find.new(options).execute
  end
end