| 1 | #!/usr/bin/env perl -w | ||||||||||
| 2 | |||||||||||
| 3 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 1 | our $VERSION = '0.2.6'; # VERSION | |||||||||
| 7 | # ABSTRACT: OS Package Management System | ||||||||||
| 8 | # PODNAME: ospkg | ||||||||||
| 9 | |||||||||||
| 10 | 1 | ▶ | use OS::Package::CLI; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 11 | |||||||||||
| 12 | 1 | ▶ | OS::Package::CLI->run() unless caller(); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | |||||||||||
| 14 | 1 | 1; | |||||||||
| 15 | |||||||||||
| 16 | __END__ | ||||||||||
| 17 | |||||||||||
| 18 | =pod | ||||||||||
| 19 | |||||||||||
| 20 | =encoding UTF-8 | ||||||||||
| 21 | |||||||||||
| 22 | =head1 NAME | ||||||||||
| 23 | |||||||||||
| 24 | ospkg - OS Package Management System | ||||||||||
| 25 | |||||||||||
| 26 | =head1 VERSION | ||||||||||
| 27 | |||||||||||
| 28 | version 0.2.6 | ||||||||||
| 29 | |||||||||||
| 30 | =head1 SYNOPSIS | ||||||||||
| 31 | |||||||||||
| 32 | $ ospkg [COMMAND] [OPTIONS] [APPLICATION] | ||||||||||
| 33 | |||||||||||
| 34 | =head1 COMMAND | ||||||||||
| 35 | |||||||||||
| 36 | =over | ||||||||||
| 37 | |||||||||||
| 38 | =item B<init> | ||||||||||
| 39 | |||||||||||
| 40 | Initialize ospkg. | ||||||||||
| 41 | |||||||||||
| 42 | =item B<download> | ||||||||||
| 43 | |||||||||||
| 44 | Download the distribution. | ||||||||||
| 45 | |||||||||||
| 46 | =item B<build> | ||||||||||
| 47 | |||||||||||
| 48 | Builds the distribution. | ||||||||||
| 49 | |||||||||||
| 50 | =item B<clean> | ||||||||||
| 51 | |||||||||||
| 52 | Removes build artifacts. | ||||||||||
| 53 | |||||||||||
| 54 | =item B<prune> | ||||||||||
| 55 | |||||||||||
| 56 | Prunes files and directories from build. | ||||||||||
| 57 | |||||||||||
| 58 | =item B<version> | ||||||||||
| 59 | |||||||||||
| 60 | Prints version and exits. | ||||||||||
| 61 | |||||||||||
| 62 | =back | ||||||||||
| 63 | |||||||||||
| 64 | =head1 OPTIONS | ||||||||||
| 65 | |||||||||||
| 66 | =over | ||||||||||
| 67 | |||||||||||
| 68 | =item B<-c|--config_dir> I<directory> | ||||||||||
| 69 | |||||||||||
| 70 | Specify a directory where the configuration files are stored. Default is ~/.ospkg/configs. | ||||||||||
| 71 | |||||||||||
| 72 | =item B<-p|--pkg_dir> I<directory> | ||||||||||
| 73 | |||||||||||
| 74 | Specify a directory where the packages files are stored. Default is ~/.ospkg/packages. | ||||||||||
| 75 | |||||||||||
| 76 | =back | ||||||||||
| 77 | |||||||||||
| 78 | =head1 AUTHOR | ||||||||||
| 79 | |||||||||||
| 80 | James F Wilkus <jfwilkus@cpan.org> | ||||||||||
| 81 | |||||||||||
| 82 | =head1 COPYRIGHT AND LICENSE | ||||||||||
| 83 | |||||||||||
| 84 | This software is Copyright (c) 2014 by James F Wilkus. | ||||||||||
| 85 | |||||||||||
| 86 | This is free software, licensed under: | ||||||||||
| 87 | |||||||||||
| 88 | The (three-clause) BSD License | ||||||||||
| 89 | |||||||||||
| 90 | =cut | ||||||||||