The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Name

Class::Usul::Config::Programs - Additional configuration attributes for CLI programs

Synopsis

   package Class::Usul::Programs;

   use Moo;

   extends q(Class::Usul);

   has '+config_class' => default => q(Class::Usul::Config::Programs);

Description

Additional configuration attributes for CLI programs

Configuration and Environment

Defines the following list of attributes

cache_ttys

Boolean defaults to true. Passed to the Proc::ProcessTable constructor

doc_title

String defaults to 'User Contributed Documentation'. Used in the Unix man pages

man_page_cmd

Array ref containing the command and options to produce a man page. Defaults to man -nroff

my_home

A directory object reference which defaults to the users home

os

A hash reference loaded from from a file selected by OS name. The file is named like os_linux.json and can be found in the configuration ctrldir

owner

String. Name of the application file owner

pwidth

Integer. Number of characters used to justify command line prompts

script

String. The basename of the pathname attribute

umask

Octal number defaults to the constant UMASK. The default file creation mask

Subroutines/Methods

None

Diagnostics

None

Dependencies

Class::Usul::Config
Class::Usul::File
Moo

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Acknowledgements

Larry Wall - For the Perl programming language

Author

Peter Flanigan, <pjfl@cpan.org>

License and Copyright

Copyright (c) 2018 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE