blib/lib/Zed/Plugin/Host/Space.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Zed::Plugin::Host::Space;
2  
3 use strict;
4 use Zed::Plugin;
5  
6 use Zed::Config::Space;
7 use Zed::Output;
8  
9 =head1 SYNOPSIS
10  
11 Show Space
12 ex:
13 space
14 space foo
15  
16 =cut
17 invoke "space" => sub {
18 my $key = shift;
19 my $space = space( $key );
20 info( $key ? "space:[$key], host: " : "all host: " , $space);
21 };
22 1