From 00ffe7df8fa733451cccb531d2f2a8a0fa69f1d7 Mon Sep 17 00:00:00 2001 From: Toni Gundogdu Date: Mon, 21 Feb 2011 10:55:18 +0200 Subject: [PATCH] Move manual to man1/grake.1.pod --- bin/grake | 146 +++++-------------------------------------------------- man1/grake.1.pod | 122 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 133 insertions(+), 135 deletions(-) create mode 100644 man1/grake.1.pod diff --git a/bin/grake b/bin/grake index c3f59b3..e632833 100755 --- a/bin/grake +++ b/bin/grake @@ -307,148 +307,24 @@ sub toggle_caption { __END__ -=head1 NAME - -grake - Youtube video link scanner - =head1 SYNOPSIS grake [-q] [-i] [-t] [--csv | --json] [--proxy EaddrE | --no-proxy] [...] -=head1 DESCRIPTION - -grake is a command line tool for scanning webpages for Youtube video links. -Each found link is separated with a newline and dumped to the standard output. - -You can use grake together with such tools like C. If you -need to select the videos, use the C<--interactive> switch. - =head1 OPTIONS - --help print help and exit - --version print version and exit - --license print license and exit - -q, --quiet be quiet - -i, --interactive run in interactive mode - -t, --title get title for video link - --json print details in json, implies -t - --csv print details in csv, implies -t - --proxy arg (=http_env) use proxy for http connections - --no-proxy disable use of http proxy - -=head1 OPTION DESCRIPTIONS - -=over 4 - -=item B<--help> - -Print help and exit. - -=item B<--version> - -Print version and exit. - -=item B<--license> - -Print license and exit. - -=item B<-q, --quiet> - -Be quiet. - -=item B<-i, --interactive> - -Enable interactive prompt which can be used to select the found -video links to be dumped to stdout. By default grake dumps all -found links without prompting. - -=item B<-t, --title> - -Get a video title for each found link. The default is no. - -=item B<--json> - -Print details in JSON. Negates C<--csv>. Implies C<--title>. - -=item B<--csv> - -Print details in CSV ("$title","$url"\n). Implies C<--title>. - -=item B<--proxy> I - -Use I for HTTP proxy, e.g. "http://foo:1234". Overrides the http_proxy -environment setting. - -=item B<--no-proxy> - -Disable use of HTTP proxy. Overrides both C<--proxy> and http_proxy environment -settings. - -=back - -=head1 EXAMPLES - -=over 4 - -=item B - -Typical use. - -=item B - -Same but print details in JSON. - -=item B - -Download the found videos with C. - -=back - -=head1 EXIT STATUS - -Exits 0 on success, otherwise E0; - -=head1 FILES - -=over 4 - -=item $HOME/.grakerc, for example: - -echo "--title" >> ~/.grakerc - -=back - -=head1 NOTES - -=over 4 - -=item B - -grake depends on LWP::UserAgent which reads the http_proxy environment -setting. - env http_proxy=http://foo:1234 grake URL - -=item B - - - -=item B - - - -e.g. git clone git://repo.or.cz/grake.git - -=back - -=head1 SEE ALSO - -C - -=head1 AUTHOR - -Toni Gundogdu + --help Print help and exit + --version Print version and exit + --license Print license and exit + -q, --quiet Be quiet + -i, --interactive Run in interactive mode + -t, --title Get title for video link + --json Print details in json, implies -t + --csv Print details in csv, implies -t + --proxy arg (=http_env) Use proxy for HTTP connections + --no-proxy Disable use of HTTP proxy =cut - +# vim: set ts=4 sw=4 tw=72 expandtab: diff --git a/man1/grake.1.pod b/man1/grake.1.pod new file mode 100644 index 0000000..a95cd77 --- /dev/null +++ b/man1/grake.1.pod @@ -0,0 +1,122 @@ + +=head1 NAME + +grake - Youtube video link scanner + +=head1 SYNOPSIS + +grake [-q] [-i] [-t] [--csv | --json] [--proxy EaddrE | --no-proxy] + [...] + +=head1 DESCRIPTION + +grake is a command line tool for scanning webpages for Youtube video links. +Each found link is separated with a newline and dumped to the standard output. + +=head1 OPTIONS + +=over 4 + +=item B<--help> + +Print help and exit. + +=item B<--version> + +Print version and exit. + +=item B<--license> + +Print license and exit. + +=item B<-q, --quiet> + +Be quiet. + +=item B<-i, --interactive> + +Enable interactive prompt which can be used to select the found +video links to be dumped to stdout. By default grake dumps all +found links without prompting. + +=item B<-t, --title> + +Get a video title for each found link. The default is no. + +=item B<--json> + +Print details in JSON. Negates C<--csv>. Implies C<--title>. + +=item B<--csv> + +Print details in CSV ("$title","$url"\n). Implies C<--title>. + +=item B<--proxy> I + +Use I for HTTP proxy, e.g. "http://foo:1234". Overrides the http_proxy +environment setting. + +=item B<--no-proxy> + +Disable use of HTTP proxy. Overrides both C<--proxy> and http_proxy environment +settings. + +=back + +=head1 EXAMPLES + +=over 4 + +=item B + +Typical use. + +=item B + +Same but print details in JSON. + +=item B + +Download the found videos with C. + +=back + +=head1 EXIT STATUS + +Exits 0 on success, otherwise E0; + +=head1 FILES + +=over 4 + +=item $HOME/.grakerc, for example: + +echo "--title" EE ~/.grakerc + +=back + +=head1 NOTES + +=over 4 + +=item B + +grake depends on LWP::UserAgent which reads the http_proxy environment +setting. + env http_proxy=http://foo:1234 grake URL + +=back + +=head1 WWW + +Ehttp://grake.googlecode.com/E + +Ehttp://repo.or.cz/w/grake.gitE + +=head1 SEE ALSO + +C + +=head1 AUTHOR + +Toni Gundogdu Elegatvs gmail comE -- 2.11.4.GIT