File: README.md

package info (click to toggle)
libconfig-model-backend-yaml-perl 2.134-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 172 kB
  • sloc: perl: 221; makefile: 2
file content (49 lines) | stat: -rw-r--r-- 1,485 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[![](https://travis-ci.org/dod38fr/config-model-backend-yaml.svg?branch=master)](https://travis-ci.org/dod38fr/config-model-backend-yaml)


# config-model-backend-yaml

YAML read/write plugin for [Config::Model](https://github.com/dod38fr/config-model/wiki)

## Description

A plugin to let [cme](https://metacpan.org/pod/distribution/App-Cme/bin/cme)
and [Config::Model](https://github.com/dod38fr/config-model/wiki)
read and write Yaml files.

## Usage

Once this module is installed, you can modify a model to specify a
`YAML` backend, either with
[cme meta edit](https://github.com/dod38fr/config-model/wiki/How-to-add-a-new-parameter-to-an-existing-model)
or using Perl code. See the example in 
[Config::Model::BackendMgr synopsis](https://metacpan.org/pod/Config::Model::BackendMgr#SYNOPSIS) 


## Installation

### Debian, Ubuntu

Run:

    apt install cme libconfig-model-backend-yaml-perl

### Others

You can also install this project from CPAN:

    cpanm install App::Cme
    cpanm install Config::Model::Backend::Yaml

### From GitHub

You may also follow these [instructions](README-build-from-git.md) to install and build from git.

## Problems ?

Please report any issue on https://github.com/dod38fr/config-model-backend-yaml/issues

## More information

* [Using cme](https://github.com/dod38fr/config-model/wiki/Using-cme)
* An example that shows how to [update a model](https://github.com/dod38fr/config-model/wiki/How-to-add-a-new-parameter-to-an-existing-model)