class Jira::CLI

Public Instance Methods

assign(ticket) click to toggle source
# File lib/jira/commands/assign.rb, line 6
def assign(ticket)
  Command::Assign.new(ticket, options).run
end
attachments(ticket) click to toggle source
# File lib/jira/commands/attachments.rb, line 5
def attachments(ticket)
  Command::Attachments.new(ticket).run
end
delete(ticket) click to toggle source
# File lib/jira/commands/delete.rb, line 6
def delete(ticket)
  Command::Delete.new(ticket, options[:force]).run
end
describe(ticket) click to toggle source
# File lib/jira/commands/describe.rb, line 5
def describe(ticket)
  Command::Describe.new(ticket).run
end
install() click to toggle source
# File lib/jira/commands/install.rb, line 5
def install
  Command::Install.new.run
end
new() click to toggle source
# File lib/jira/commands/new.rb, line 12
def new
  Command::New.new(options).run
end
rename(ticket) click to toggle source
# File lib/jira/commands/rename.rb, line 6
def rename(ticket)
  Command::Rename.new(ticket, options).run
end
sprint() click to toggle source
# File lib/jira/commands/sprint.rb, line 5
def sprint
  Command::Sprint.new.run
end
tickets(jql="assignee= click to toggle source
# File lib/jira/commands/tickets.rb, line 5
def tickets(jql="assignee=#{Jira::Core.username}")
  Command::Tickets.new(jql).run
end
transition(ticket) click to toggle source
# File lib/jira/commands/transition.rb, line 7
def transition(ticket)
  Command::Transition.new(ticket, options).run
end
version() click to toggle source
# File lib/jira/commands/version.rb, line 5
def version
  say "jira #{Jira::VERSION}"
end