class Hackpad::Cli::Runner
Public Instance Methods
add()
click to toggle source
# File lib/hackpad/cli/runner.rb, line 51 def add Hackpad::Cli::Client.new(options).add end
default()
click to toggle source
# File lib/hackpad/cli/runner.rb, line 56 def default Hackpad::Cli::Client.new(options).default end
getnew()
click to toggle source
# File lib/hackpad/cli/runner.rb, line 80 def getnew Hackpad::Cli::Client.new(options).getnew end
info(pad)
click to toggle source
# File lib/hackpad/cli/runner.rb, line 85 def info(pad) Hackpad::Cli::Client.new(options).info pad end
list()
click to toggle source
# File lib/hackpad/cli/runner.rb, line 74 def list Hackpad::Cli::Client.new(options).list end
search(term)
click to toggle source
# File lib/hackpad/cli/runner.rb, line 67 def search(term) Hackpad::Cli::Client.new(options).search term end
show(pad, format = 'txt')
click to toggle source
# File lib/hackpad/cli/runner.rb, line 91 def show(pad, format = 'txt') Hackpad::Cli::Client.new(options).show pad, format end
stats()
click to toggle source
# File lib/hackpad/cli/runner.rb, line 61 def stats Hackpad::Cli::Client.new(options).stats end
version()
click to toggle source
# File lib/hackpad/cli/runner.rb, line 96 def version puts File.read(File.expand_path('../../../../CHANGELOG.md', __FILE__))[/([0-9]+\.[0-9]+\.[0-9]+)/] end
workspaces()
click to toggle source
# File lib/hackpad/cli/runner.rb, line 46 def workspaces Hackpad::Cli::Client.new(options).workspaces end