Method Modifiers
after 'cmd_start' => sub { my $self = shift; return unless $self->branch; return if $self->no_branch; # git branch stuff, boring };
Moose::Manual::MethodModifiers
for more info on after
and other method modifiers like before
and around
.