@appveen/faml
A CLI tool to fill yaml placeholder
Last updated 10 months ago by appveen .
MIT · Original npm · Tarball · package.json
$ cnpm install @appveen/faml -g
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.3                                ...           latest (10 months ago)

4 Versions

  • 1.0.3                                ...           10 months ago
  • 1.0.2                                ...           10 months ago
  • 1.0.1                                ...           10 months ago
  • 1.0.0                                ...           10 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 5
Last Day 0
Last Week 4
Last Month 2
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |