untoken-cli
v0.0.1
Published
A token replacement CLI tool for text.
Maintainers
Readme
Motivation
I have been looking for a simple CLI tool that replace tokens in a text given a set of values. The ability to un-token a text.
Usage
npx untoken source.txt target.txt --day=Monday --month=JanuaryThe above command will process the file source.txt and replace any occurrence of {day} and/or {month} with their respective values. The changes will be saved in `target.txt.
Development
- Clone this repo.
- Install dependencies:
npm i - Profit!
Tests
npm tPublishment
Every semver tag pushed to this repo will be published via GitHub Actions.
Crafted by Rubens Mariuzzo. MIT license
