1Config::Model::Lister(3U)ser Contributed Perl DocumentatiCoonnfig::Model::Lister(3)
2
3
4
6 Config::Model::Lister - List available models and applications
7
9 version 2.138
10
12 perl -MConfig::Model::Lister -e'print Config::Model::Lister::models;'
13
14 perl -MConfig::Model::Lister -e'print Config::Model::Lister::applications;'
15
17 Small modules to list available models or applications whose config can
18 be edited by cme. This module is designed to be used by bash
19 completion.
20
21 All functions accept an optional boolean parameter. When true, only the
22 local "lib" dir is scanned.
23
26 Returns an array of 3 hash refs:
27
28 · category (system or user or application) => application list. E.g.
29
30 { system => [ 'popcon' , 'fstab'] }
31
32 · application name to model information. E.g.
33
34 { 'multistrap' => { model => 'Multistrap', require_config_file => 1 }
35
36 · application name to model name. E.g.
37
38 { popcon => 'Popcon', 'multistrap' => 'Multistrap' }
39
41 Returns a string with the list of models.
42
44 Returns a string with the list of editable applications.
45
47 Dominique Dumont
48
50 This software is Copyright (c) 2005-2019 by Dominique Dumont.
51
52 This is free software, licensed under:
53
54 The GNU Lesser General Public License, Version 2.1, February 1999
55
56
57
58perl v5.30.1 2020-01-29 Config::Model::Lister(3)