CAPE-Utils
view release on metacpan or search on metacpan
src_bin/cape_utils view on Meta::CPAN
=cut
sub version {
print "cape_utils v. 0.1.0\n";
exit 255;
}
=head1 SYNOPSIS
cape_utils -a submit [B<-c> <config>] [B<--clock> <time>] [B<--timeout> <seconds>] [B<--machine> <machine>]
[B<--package> <package>] [B<--options> <options>] [B<--tags> <tags>] [B<--enforce_timeout>]
[B<--unique>] [B<--json>] [B<--quiet>] <file/dir> [<file/dir...]
cape_utils -a running [B<-c> <config>] [B<-C>] [B<-w> <where>] [B<--json>]
cape_utils -a pending [B<-c> <config>] [B<-C>] [B<-w> <where>] [B<--json>]
cape_utils -a tasks [B<-c> <config>] [B<-C>] [B<-w> <where>] [B<--direction> <dir>] [B<--order> <column>] [B<--json>]
cape_utils -a fail [B<-c> <config>] B<-w> <where>
cape_utils -a eve [B<-c> <config>]=head1 Action: submit
cape_utils -a munge [B<-c> <config>] B<-r> <report json>
=head1 GENERAL FLAGS
=head2 --c <ini>
Config INI file.
Default: /usr/local/etc/cape_utils.ini
=head2 -a <action>
Action to perform.
=head2 ---json
Output the result of searches or submissions as JSON.
=head1 ACTIONS
=head2 submit
=head3 @ARGS
Files/dirs to submit.
=head3 --clock <time>
Timestamp to use for setting the clock to of the VM for
when executing the item. If left undefined, it will be
autogenerated.
Format :: mm-dd-yyy HH:MM:ss
=head3 --timeout <timeout
Timeout value in seconds.
Default :: 200
=head3 --machine <machine>
The machine to use for this. If not defined,
first available will be used.
Default :: undef
=head3 --package <package>
Package to use, if not letting CAPE decide.
Default :: undef
=head3 --options <opts>
Option string to be passed via --options.
Default :: undef
=head3 --tags <tags>
Tags to be passed to the script via --tags.
Default :: undef
=head3 --enforce_timeout
Force it to run the entire period.
=head3 --unique
Only submit unique items.
=head3 --quiet
Do not print the output from the submission command.
=head2 running
=head3 -C
Print the running count instead of the table.
=head3 -w <where>
Additional SQL args for use with statement for
getting running items.
=head2 pending
=head3 -C
Print the pending count instead of the table.
=head3 -w <where>
Additional SQL args for use with statement for
( run in 2.843 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )