blib/lib/Ereshkigal/App.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 20 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« src_bin/kur ↑ Summary
1 package Ereshkigal::App;
2  
3 2 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶use App::Cmd::Setup -app;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 Ereshkigal::App - App::Cmd app for the ereshkigal bin.
11  
12 =head1 VERSION
13  
14 Version 0.0.1
15  
16 =cut
17  
18 2 our $VERSION = '0.0.1';
19  
20 =head1 SYNOPSIS
21  
22 use Ereshkigal::App;
23  
24 Ereshkigal::App->run;
25  
26 =head1 DESCRIPTION
27  
28 L<App::Cmd> app providing the C<ereshkigal> CLI. See the various
29 Ereshkigal::App::Command modules for the subcommands.
30  
31 =head1 METHODS
32  
33 =head2 global_opt_spec
34  
35 Global options available to every subcommand.
36  
37 -s|--socket :: Path of the manager unix socket.
38 Default :: /var/run/ereshkigal/socket
39  
40 =cut
41  
42 126 ▶sub global_opt_spec {
Subroutine global_opt_spec: called CC=1 SCAR=0.0
Pod documented
43 126 return ( [ 'socket|s=s', 'path of the manager unix socket', { default => '/var/run/ereshkigal/socket' } ], );
44 }
45  
46 2 1;
« src_bin/kur ↑ Summary