class FalkorLib::CLI::Make

Thor class for symlink creation

Public Instance Methods

commands() click to toggle source
# File lib/falkorlib/cli/make.rb, line 20
def commands
  puts Make.all_commands.keys.sort - [ 'commands' ]
end
generic(dir = Dir.pwd) click to toggle source
# File lib/falkorlib/cli/make.rb, line 62
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) click to toggle source
# File lib/falkorlib/cli/make.rb, line 55
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) click to toggle source
# File lib/falkorlib/cli/make.rb, line 41
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) click to toggle source
# File lib/falkorlib/cli/make.rb, line 31
def repo(dir = Dir.pwd)
  # TODO: find a generic way to handle help in subcommands
  # -- see https://github.com/erikhuda/thor/issues/532
  (help(__method__) and exit 0) if options[:help]
  FalkorLib::Bootstrap.makefile(dir, options)
end
src(dir = Dir.pwd) click to toggle source
# File lib/falkorlib/cli/make.rb, line 48
def src(dir = Dir.pwd)
  (help(__method__) and exit 0) if options[:help]
   FalkorLib::Bootstrap::Link.makefile(dir, :src => true)
end