@appveen/faml
v1.0.3
Published
A CLI tool to fill yaml placeholder
Downloads
13
Readme
faml
A CLI tool to fill yaml placeholder
Install
npm i -g @appveen/faml
Running Options
Run for single file
faml -f <filename>
Run for multiple files in a directory
faml -d <directory>
Change placeholder prefix
faml -p <prefix>
#default prefix __ (underscore twice)
Change placeholder suffix
faml -s <suffix>
#default suffix __ (underscore twice)
Examples
Example 1
faml -f test_app.yaml
# This will look for file in the current working directory
Example 2
faml -f ../test_app.yaml
# This will look for file in the parent directory of the current working directory
Example 3
faml -f /usr/ubuntu/test_app.yaml
# This will look for file in the given path
Example 4
faml -f test_app.yaml -p $$ -s $$
# This will look for all placeholders in file with $$ as prefix and suffix