package Sietima::Runner; use Moo; use Sietima::Policy; use namespace::clean; # VERSION # ABSTRACT: C for Sietima =head1 DESCRIPTION You should never need to care about this class, it's used internally by L<< C >>. This is a subclass of L<< C >> that uses directly itself to execute the built-in commands, instead of delegating to the C object (in our case, a C instance) which would delegate back via L<< C >>. =for Pod::Coverage run_op =cut extends 'App::Spec::Run'; sub run_op($self,$op,$args=[]) { if ($op =~ /^cmd_/) { $self->$op($args); } else { $self->cmd->$op($self,$args); } } 1;