nfra/ctool

Script to update config files using template

v1.3.1 2020-09-15 20:48 UTC

This package is auto-updated.

Last update: 2024-12-16 06:09:14 UTC


README

A command line utility to configure containers easily using templates.

ctool --autoload /opt/bootstrap.php 

TL;DR

Installation

composer require -g nfra/ctool

Writing Config files

Just place a config file in the correct folder and append the extension .php.

Within the file you can generate output as you want:

\Phore\CloudTool\CloudToolTemplate::Get()->setOnChangeAction();