class FalkorLib::CLI::Link
Thor class for symlink creation
Public Instance Methods
commands()
click to toggle source
# File lib/falkorlib/cli/link.rb, line 19 def commands puts Link.all_commands.keys.sort - [ 'commands' ] end
make(dir = Dir.pwd)
click to toggle source
# File lib/falkorlib/cli/link.rb, line 53 def make(dir = Dir.pwd) (help(__method__) and exit 0) if options[:help] FalkorLib::Bootstrap::Link.makefile(dir, options) end
rootdir(dir = Dir.pwd)
click to toggle source
# File lib/falkorlib/cli/link.rb, line 27 def rootdir(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::Link.root(dir, options) end