class Weekdone::Cli::Tag
Public Instance Methods
get()
click to toggle source
# File lib/weekdone/cli/command_tag.rb, line 24 def get client = build_client tag = client.getSingleTag(options[:tagid]) Credential.write_credential(client.token_hash) Output.format(tag, format: :json) end
list()
click to toggle source
# File lib/weekdone/cli/command_tag.rb, line 14 def list client = build_client tags = client.getAllTags Credential.write_credential(client.token_hash) Output.format(tags, format: :json) end