class Jira::CLI

Public Instance Methods

all() click to toggle source
# File lib/jira/commands/all.rb, line 5
def all
  Command::All.new.run
end
assign(ticket=Jira::Core.ticket) click to toggle source
# File lib/jira/commands/assign.rb, line 6
def assign(ticket=Jira::Core.ticket)
  Command::Assign.new(ticket, options).run
end
attachments(ticket=Jira::Core.ticket) click to toggle source
# File lib/jira/commands/attachments.rb, line 5
def attachments(ticket=Jira::Core.ticket)
  Command::Attachments.new(ticket).run
end
checkout(ticket) click to toggle source
# File lib/jira/commands/checkout.rb, line 6
def checkout(ticket)
  Command::Checkout.new(ticket, options).run
end
delete(ticket=Jira::Core.ticket) click to toggle source
# File lib/jira/commands/delete.rb, line 6
def delete(ticket=Jira::Core.ticket)
  Command::Delete.new(ticket, options[:force]).run
end
describe(ticket=Jira::Core.ticket) click to toggle source
# File lib/jira/commands/describe.rb, line 5
def describe(ticket=Jira::Core.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=Jira::Core.ticket) click to toggle source
# File lib/jira/commands/rename.rb, line 6
def rename(ticket=Jira::Core.ticket)
  Command::Rename.new(ticket, options).run
end
sprint(active = false) click to toggle source
# File lib/jira/commands/sprint.rb, line 5
def sprint(active = false)
  Command::Sprint.new(active).run
end
tickets(jql="assignee= click to toggle source
# File lib/jira/commands/tickets.rb, line 5
def tickets(jql="assignee=#{Jira::Core.username} AND status = \"In Progress\"")
  Command::Tickets.new(jql).run
end
transition(ticket=Jira::Core.ticket) click to toggle source
# File lib/jira/commands/transition.rb, line 7
def transition(ticket=Jira::Core.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