class Breathing::Cli
Public Instance Methods
clear()
click to toggle source
# File lib/breathing/cli.rb, line 23 def clear Breathing.clear end
export()
click to toggle source
# File lib/breathing/cli.rb, line 29 def export Breathing.export end
install()
click to toggle source
# File lib/breathing/cli.rb, line 11 def install Breathing.install end
out()
click to toggle source
# File lib/breathing/cli.rb, line 37 def out if options[:table] == 'terminal_table' Breathing.render_terminal_table(table_name: options[:table], id: options[:id].to_i) else # TODO # Breathing.export(table_name: options[:table], id: options[:id].to_i) end end
tail()
click to toggle source
# File lib/breathing/cli.rb, line 49 def tail Breathing.tail_f(table_name: options[:table], id: options[:id].to_i) end
uninstall()
click to toggle source
# File lib/breathing/cli.rb, line 17 def uninstall Breathing.uninstall end
version()
click to toggle source
# File lib/breathing/cli.rb, line 55 def version say "Version: #{Breathing::VERSION}" end