nfra / ctool
Script to update config files using template
Installs: 1 948
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:Shell
Requires
- php: >=7.2
- ext-pcre: *
- phore/filesystem: ^1.0.3
- phore/log: ^1.0.2
- phore/system: ^1.0
- text/template: *
This package is auto-updated.
Last update: 2024-11-16 06:03:19 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();