1Publican::CreateBrand(3U)ser Contributed Perl DocumentatiPounblican::CreateBrand(3)
2
3
4

NAME

6       Publican::CreateBrand - A module for generating new brand boilerplate.
7

VERSION

9       This document describes Publican::CreateBrand version 0.1
10

SYNOPSIS

12           use Publican::CreateBrand;
13
14           my $creator = Publican::CreateBrand->new({name => 'foo'});
15           $creator->create();
16

DESCRIPTION

18           Creates a new Brand for use with the publican package
19

INTERFACE

21   new
22       Create a Publican object set.
23
24       Parameters:
25
26          name              Brand Name        (Required)
27
28   create
29       Create all the required files.
30
31   xml_files
32       Create XML files.
33
34   conf_files
35       Create configuration files.
36
37   images
38       Create images dir and all the default images in svg and png format.
39

DIAGNOSTICS

41       "unknown args %s"
42           All subs with named parameters will return this error when
43           unexpected named arguments are provided.
44
45       "%s is a required parameter"
46           Any sub with a mandatory parameter will return this error if the
47           parameter is undef.
48
49       ""Can't create brand, directory %s exists!"
50           When creating a Brand a directory is created with the same name as
51           the brand. If a directory with that name is in the current
52           directory the creation will fail.
53
54       "Invalid language supplied: %s"
55           The language supplied is not a valid language.
56
57       "Can't create directory: %s"
58       "Could not open %s for output!"
59       "Can't write file"
60       "Can't open SVG file %s"
61

CONFIGURATION AND ENVIRONMENT

63       Publican::CreateBrand requires no configuration files or environment
64       variables.
65

DEPENDENCIES

67       Carp version Config::Simple File::Path File::pushd DateTime Publican
68       Term::ANSIColor
69

INCOMPATIBILITIES

71       None reported.
72

BUGS AND LIMITATIONS

74       None reported.
75
76       Please report any bugs or feature requests to
77       "publican-list@redhat.com", or through the web interface at
78       <https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Publican&amp;component=publican>.
79

AUTHOR

81       Jeff Fearn  "<jfearn@redhat.com>"
82
83
84
85perl v5.16.3                      2014-12-15          Publican::CreateBrand(3)
Impressum