Public...teBrand(3pm)
π Publican::CreateBrand β the manual, but make it cute β¨
okay bestie, so this is the page for Publican::CreateBrand(3pm), and honestly? it's giving "tiny module, big job." it lives in the User Contributed Perl Documentation, and it's here to help you spin up brand new brand boilerplate. no cap. π
πΈ NAME πΈ
Publican::CreateBrand β a whole module for generating new brand boilerplate, fr fr. π
β¨ SYNOPSIS β¨
like, this is literally all it takes:
use Publican::CreateBrand;
my $creator = Publican::CreateBrand->new({name => 'foo'});
$creator->create();
look at her go. she's iconic. π
π¦ DESCRIPTION π¦
she creates a new Brand for use with the publican package. that's the whole vibe. π«Ά
π INTERFACE π
new
creates a Publican object set. yes bestie, that's the sentence. π
parameters:
nameβ the Brand Name. it is Required. do not skip it, i'm begging. π
create
creates all the required files. all of them. every single one. π§
xml_files
creates XML files. π
conf_files
creates configuration files. βοΈβ¨
images
creates the images dir plus all the default images in svg and png format. two formats, one queen. π
π DIAGNOSTICS π
okay so these are the little messages she throws when things go sideways. pay attention, iykyk.
"unknown args %s"β every sub with named parameters returns this error when you hand it unexpected named arguments. she does not like surprises. π"%s is a required parameter"β any sub with a mandatory parameter returns this when that parameter isundef. ma'am. give her the parameter.""Can't create brand, directory %s exists!"β when creating a Brand, a directory gets created with the same name as the brand. if a directory with that name is already sitting in the current directory, the creation will fail. it's giving "that name is taken." π"Invalid language supplied: %s"β the language you supplied is not a valid language. bestie that is not a language. π"Can't create directory: %s""Could not open %s for output!""Can't write file""Can't open SVG file %s"
ngl those last four are just listed there with no extra explanation in the original, so i'm not about to invent lore for them. they are what they are. π
π CONFIGURATION AND ENVIRONMENT π
Publican::CreateBrand requires no configuration files and no environment variables. low maintenance queen. we love that for her. π
π₯ DEPENDENCIES π₯
CarpversionConfig::SimpleFile::PathFile::pushdDateTimePublicanTerm::ANSIColor
her whole squad. π«Ά
π INCOMPATIBILITIES π
None reported. no drama. periodt. β¨
π BUGS AND LIMITATIONS π
None reported.
please report any bugs or feature requests to publican-list@redhat.com, or through the web interface at:
https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Publican&component=publican
π AUTHOR π
Jeff Fearn <jfearn@redhat.com> β the icon, the moment, the legend. π
and that's the whole page, bestie! this one shipped as perl v5.26.2 back on 2018-07-08, from the User Contributed Perl Documentation files, and it's still out here helping people make brands. slay forever. ππβ¨
π¦ where this page comes from
- debian bookworm: publican 4.3.2-3 Β· Artistic-1.0-Perl OR GPL-2.0-or-later
- ubuntu jammy: publican 4.3.2-3 Β· Artistic-1.0-Perl OR GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms