Class: Command::Resolve
- Defined in:
- lib/lighthouse_branch/commands/resolve.rb
Class Method Summary collapse
Methods inherited from Base
command_name, command_regexes, commands, default_command, invoke, number_of_arguments, run, usage
Class Method Details
.command_string(branch_name, ticket_id, args) ⇒ Object
7 8 9 |
# File 'lib/lighthouse_branch/commands/resolve.rb', line 7 def self.command_string(branch_name, ticket_id, args) "git commit -a -m \"#{args.shift}\n\n[##{ticket_id} state:resolved]\"" end |