Metadata-Version: 2.1
Name: ConfMerge
Version: 0.2.0
Summary: Configuration file merge utility
Home-page: https://github.com/Aisbergg/python-confmerge
Author: Andre Lehmann
Author-email: aisberg@posteo.de
License: LGPL
Project-URL: Bug Reports, https://github.com/Aisbergg/python-confmerge/issues
Project-URL: Source, https://github.com/Aisbergg/python-confmerge
Description: # ConfMerge - Python3 configuration file merge utility
        
        *ConfMerge* lets you merge multiple configuration files into one file. Currently supported file formats are INI, YAML and JSON.
        
        **Table of contents:**
        <!-- TOC depthFrom:2 depthTo:6 withLinks:1 updateOnSave:1 orderedList:0 -->
        
        - [Installation](#installation)
        - [Usage](#usage)
        	- [Examples](#examples)
        - [License](#license)
        
        <!-- /TOC -->
        
        ---
        
        ## Installation
        
        To install *ConfMerge* directly from Github:
        ```
        pip install git+https://github.com/Aisbergg/python-confmerge@v0.2.0
        ```
        
        ## Usage
        
        ```
        usage: confmerge [-d] [-f] [-h] [-m MODE] [-t FILE_TYPE] [--debug] [--version]
                         src [src ...] dest
        
        Merge multiple configuration files into one file
        
        positional arguments:
          src                   The source files
          dest                  The destination file
        
        optional arguments:
          -d, --dry-run         Print the merged content on stdout instead of writing
                                it to the destination file
          -f, --force           Force overwriting of any existing destination file
          -h, --help            Show this help message and exit
          -m MODE, --mode MODE  File mode for newly created files
          -t FILE_TYPE, --type FILE_TYPE
                                Type of file can be one of 'ini', 'json' or 'yaml'. If
                                not specified the type will be guessed from the file
                                extension
          --debug               Print debug trace on error
          --version             Print the program version and exit
        ```
        
        ### Examples
        
        Merge multiple INI files and write result into `res.ini`
        ```
        confmerge -f 1.ini 2.ini 3.ini res.ini
        ```
        
        Merge different types of configuration files:
        ```
        confmerge -f 1.yml 2.json 3.ini res.yml
        ```
        
        Perform a dry run (don't write output file but print result on stdout):
        ```
        confmerge --dry-run 1.yml 2.yml not-touched.yml
        ```
        
        ## License
        
        ConfMerge is released under the LGPL v3 License. See [LICENSE.txt](LICENSE.txt) for more information.
        
Keywords: config ini yaml json command-line CLI
Platform: POSIX
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown
