From: Tatsuhiko Miyagawa Date: Wed, 3 Apr 2013 22:24:18 +0000 (-0700) Subject: Added documentation about pack command X-Git-Tag: v0.009015~2^2~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6da38a2d34b83e2ced743b09b0c87df67c0f19fa;p=p5sagit%2FApp-FatPacker.git Added documentation about pack command --- diff --git a/bin/fatpack b/bin/fatpack index 1ad9cb2..c6d7235 100755 --- a/bin/fatpack +++ b/bin/fatpack @@ -8,6 +8,15 @@ fatpack - Command line frontend for App::FatPacker =head1 COMMANDS +=head2 pack + + $ fatpack pack myscript.pl > myscript.packed.pl + +A shortcut to do all the work of tracing, collecting packlists, +extracting modules in fatlib, then concatinating into a packed script +- in one shot. If you need more detailed controls for additional +modules, use the following commands separately (see L). + =head2 trace $ fatpack trace [--to=trace-file|--to-stderr] [--use=MODULE] diff --git a/lib/App/FatPacker.pm b/lib/App/FatPacker.pm index 71fd66d..935584b 100644 --- a/lib/App/FatPacker.pm +++ b/lib/App/FatPacker.pm @@ -270,6 +270,10 @@ App::FatPacker - pack your dependencies onto your script file =head1 SYNOPSIS + $ fatpack pack myscript.pl >myscript.packed.pl + +Or, with more step-by-step control: + $ fatpack trace myscript.pl $ fatpack packlists-for `cat fatpacker.trace` >packlists $ fatpack tree `cat packlists`