Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Config::Model::Lister(User Contributed Perl DocumentatConfig::Model::Lister(3)

NAME
       Config::Model::Lister - List available models and applications

VERSION
       version 2.140

SYNOPSIS
	perl -MConfig::Model::Lister -e'print Config::Model::Lister::models;'

	perl -MConfig::Model::Lister -e'print Config::Model::Lister::applications;'

DESCRIPTION
       Small modules to	list available models or applications whose config can
       be edited by cme. This module is	designed to be used by bash
       completion.

       All functions accept an optional	boolean	parameter. When	true, only the
       local "lib" dir is scanned.

FUNCTIONS
available_models
       Returns an array	of 3 hash refs:

       o   category (system or user or application) => application list. E.g.

	    { system =>	[ 'popcon' , 'fstab'] }

       o   application name to model information. E.g.

	    { 'multistrap' => {	model => 'Multistrap', require_config_file => 1	}

       o   application name to model name. E.g.

	    { popcon =>	'Popcon', 'multistrap' => 'Multistrap' }

models
       Returns a string	with the list of models.

applications
       Returns a string	with the list of editable applications.

AUTHOR
       Dominique Dumont

COPYRIGHT AND LICENSE
       This software is	Copyright (c) 2005-2020	by Dominique Dumont.

       This is free software, licensed under:

	 The GNU Lesser	General	Public License,	Version	2.1, February 1999

perl v5.32.0			  2020-08-28	      Config::Model::Lister(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | FUNCTIONS | available_models | models | applications | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Config::Model::Lister&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help