@appveen/faml

1.0.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @appveen/faml

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

4.37 kB

Total Files

4

Last publish

Collaborators

  • appveen