App::Rad::Tutorial - Command line applications made easy!
App::Rad provides a framework for rapid (and fun) development of command line applications. This tutorial will guide you through the basic features of App::Rad programs so you can develop your own applications in no time!
Getting started with App::Rad is really easy: just create a file (let's name it "myapp.pl") and write:
use App::Rad; App::Rad->run();
That's it! Your program already works and you can use it on the command line. Let's try it:
[user@host]$ ./myapp.pl Usage: myapp.pl command [arguments] Available Commands: help show syntax and available commands
To install SweetPea::Cli, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SweetPea::Cli
CPAN shell
perl -MCPAN -e shell install SweetPea::Cli
For more information on module installation, please visit the detailed CPAN module installation guide.