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

NAME

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

SYNOPSIS

9           use Publican::CreateBrand;
10
11           my $creator = Publican::CreateBrand->new({name => 'foo'});
12           $creator->create();
13

DESCRIPTION

15           Creates a new Brand for use with the publican package
16

INTERFACE

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

DIAGNOSTICS

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

CONFIGURATION AND ENVIRONMENT

60       Publican::CreateBrand requires no configuration files or environment
61       variables.
62

DEPENDENCIES

64       Carp version Config::Simple File::Path File::pushd DateTime Publican
65       Term::ANSIColor
66

INCOMPATIBILITIES

68       None reported.
69

BUGS AND LIMITATIONS

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

AUTHOR

78       Jeff Fearn  "<jfearn@redhat.com>"
79
80
81
82perl v5.32.1                      2021-01-27          Publican::CreateBrand(3)
Impressum