Class: FalkorLib::CLI::Make

Inherits:
Thor
  • Object
show all
Includes:
FalkorLib::Common
Defined in:
lib/falkorlib/cli/make.rb

Overview

Thor class for symlink creation

Instance Method Summary collapse

Methods included from FalkorLib::Common

ask, bold, command?, cyan, error, exec_or_exit, execute, execute_in_dir, green, info, init_from_template, init_rvm, list_items, load_config, nice_execute, normalized_path, not_implemented, really_continue?, red, run, select_from, select_multiple_from, show_diff_and_write, store_config, warning, write_from_erb_template, write_from_template

Instance Method Details

#commandsObject



20
21
22
# File 'lib/falkorlib/cli/make.rb', line 20

def commands
  puts Make.all_commands.keys.sort - [ 'commands' ]
end

#generic(dir = Dir.pwd) ⇒ Object



50
51
52
# File 'lib/falkorlib/cli/make.rb', line 50

def generic(dir = Dir.pwd)
  FalkorLib::Bootstrap::Link.makefile(dir, :generic => true)
end

#gnuplot(dir = Dir.pwd) ⇒ Object



44
45
46
# File 'lib/falkorlib/cli/make.rb', line 44

def gnuplot(dir = Dir.pwd)
   FalkorLib::Bootstrap::Link.makefile(dir, :gnuplot => true)
end

#latex(dir = Dir.pwd) ⇒ Object



38
39
40
# File 'lib/falkorlib/cli/make.rb', line 38

def latex(dir = Dir.pwd)
   FalkorLib::Bootstrap::Link.makefile(dir, :latex => true)
end

#repo(dir = Dir.pwd) ⇒ Object



31
32
33
# File 'lib/falkorlib/cli/make.rb', line 31

def repo(dir = Dir.pwd)
  FalkorLib::Bootstrap.makefile(dir, options)
end