logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Applications

       Returns a string with the list of editable applications.

Author

       Dominique Dumont

Available_Models

       Returns an array of 3 hash refs:

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

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

       •   application name to model information. E.g.

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

       •   application name to model name. E.g.

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

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

Models

       Returns a string with the list of models.

Name

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

Synopsis

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

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

Version

       version 2.155

See Also