Method: GitReflow::Sandbox#run_command_with_label
- Defined in:
- lib/git_reflow/sandbox.rb
#run_command_with_label(command, options = {}) ⇒ Object
43 44 45 46 47 |
# File 'lib/git_reflow/sandbox.rb', line 43 def run_command_with_label(command, = {}) label_color = .delete(:color) || :green puts command.colorize(label_color) run(command, ) end |