1.0.3 • Published 6 years ago
@appveen/faml v1.0.3
faml
A CLI tool to fill yaml placeholder
Install
npm i -g @appveen/famlRunning 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 directoryExample 2
faml -f ../test_app.yaml
# This will look for file in the parent directory of the current working directoryExample 3
faml -f /usr/ubuntu/test_app.yaml
# This will look for file in the given pathExample 4
faml -f test_app.yaml -p $$ -s $$
# This will look for all placeholders in file with $$ as prefix and suffix