| 1 |
#!perl |
| 2 |
use strict; |
| 3 |
use warnings; |
| 4 |
use App::Termcast; |
| 5 |
# PODNAME: termcast |
| 6 |
# ABSTRACT: broadcast your terminal sessions for remote viewing |
| 7 |
|
| 8 |
|
| 9 |
my $tc = App::Termcast->new_with_options; |
| 10 |
my @argv = @{ $tc->extra_argv }; |
| 11 |
push @argv, ($ENV{SHELL} || '/bin/sh') if !@argv; |
| 12 |
$tc->run(@argv); |
| 13 |
|
| 14 |
__END__ |
| 15 |
|
| 16 |
=pod |
| 17 |
|
| 18 |
=encoding UTF-8 |
| 19 |
|
| 20 |
=head1 NAME |
| 21 |
|
| 22 |
termcast - broadcast your terminal sessions for remote viewing |
| 23 |
|
| 24 |
=head1 VERSION |
| 25 |
|
| 26 |
version 0.13 |
| 27 |
|
| 28 |
=head1 SYNOPSIS |
| 29 |
|
| 30 |
termcast [options] [command] |
| 31 |
|
| 32 |
=head1 DESCRIPTION |
| 33 |
|
| 34 |
Runs C<command> (or a shell, if the command isn't given), while broadcasting it |
| 35 |
to a termcast server. See L<App::Termcast> for options documentation. |
| 36 |
|
| 37 |
=head1 AUTHOR |
| 38 |
|
| 39 |
Jesse Luehrs <[email protected]> |
| 40 |
|
| 41 |
=head1 COPYRIGHT AND LICENSE |
| 42 |
|
| 43 |
This software is copyright (c) 2014 by Jesse Luehrs. |
| 44 |
|
| 45 |
This is free software; you can redistribute it and/or modify it under |
| 46 |
the same terms as the Perl 5 programming language system itself. |
| 47 |
|
| 48 |
=cut |