Algorithm-Classifier-IsolationForest
view release on metacpan or search on metacpan
lib/Algorithm/Classifier/IsolationForest/App/Command.pm view on Meta::CPAN
package Algorithm::Classifier::IsolationForest::App::Command;
use strict;
use warnings;
use App::Cmd::Setup -command;
sub global_opt_spec {
my ( $class, $app ) = @_;
return ( $class->options($app), );
}
sub validate_args {
my ( $self, $opt, $args ) = @_;
if ( $opt->{help} ) {
my ($command) = $self->command_names;
$self->app->execute_command( $self->app->prepare_command( "help", $command ) );
exit;
}
$self->validate( $opt, $args );
}
return 1;
( run in 0.918 second using v1.01-cache-2.11-cpan-f4a522933cf )