Class: Cp8Cli::Commands::Cleanup

Inherits:
Object
  • Object
show all
Defined in:
lib/cp8_cli/commands/cleanup.rb

Instance Method Summary collapse

Instance Method Details

#runObject



4
5
6
7
8
9
10
# File 'lib/cp8_cli/commands/cleanup.rb', line 4

def run
  Command.title "Cleaning merged story branches for [#{target}]"
  update_remotes
  remove_fully_merged_local_branches
  remove_fully_merged_remote_branches
  Command.success "Deleted branches merged with [#{target}]"
end