Class: FalkorLib::CLI::Make
Overview
Thor class for symlink creation
Instance Method Summary
collapse
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
#commands ⇒ Object
21
22
23
|
# File 'lib/falkorlib/cli/make.rb', line 21
def commands
puts Make.all_commands.keys.sort - [ 'commands' ]
end
|
#generic(dir = Dir.pwd) ⇒ Object
63
64
65
66
|
# File 'lib/falkorlib/cli/make.rb', line 63
def generic(dir = Dir.pwd)
(help(__method__) and exit 0) if options[:help]
FalkorLib::Bootstrap::Link.makefile(dir, :generic => true)
end
|
#gnuplot(dir = Dir.pwd) ⇒ Object
56
57
58
59
|
# File 'lib/falkorlib/cli/make.rb', line 56
def gnuplot(dir = Dir.pwd)
(help(__method__) and exit 0) if options[:help]
FalkorLib::Bootstrap::Link.makefile(dir, :gnuplot => true)
end
|
#latex(dir = Dir.pwd) ⇒ Object
42
43
44
45
|
# File 'lib/falkorlib/cli/make.rb', line 42
def latex(dir = Dir.pwd)
(help(__method__) and exit 0) if options[:help]
FalkorLib::Bootstrap::Link.makefile(dir, :latex => true)
end
|
#repo(dir = Dir.pwd) ⇒ Object
32
33
34
35
36
37
|
# File 'lib/falkorlib/cli/make.rb', line 32
def repo(dir = Dir.pwd)
(help(__method__) and exit 0) if options[:help]
FalkorLib::Bootstrap.makefile(dir, options)
end
|
#src(dir = Dir.pwd) ⇒ Object
49
50
51
52
|
# File 'lib/falkorlib/cli/make.rb', line 49
def src(dir = Dir.pwd)
(help(__method__) and exit 0) if options[:help]
FalkorLib::Bootstrap::Link.makefile(dir, :src => true)
end
|