| 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 |