Class: RubyOnEtags::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/ruby_on_etags/cli.rb

Instance Method Summary collapse

Instance Method Details

#buildObject



9
10
11
# File 'lib/ruby_on_etags/cli.rb', line 9

def build
  RubyOnEtags::Core.new.build_tags
end

#watchObject



14
15
16
# File 'lib/ruby_on_etags/cli.rb', line 14

def watch
  system "watchr -e 'watch(\"\.rb\") { system \"roetags build &>/dev/null\" }; puts \"Watching...\"'"
end