0.0.1 • Published 4 years ago

untoken-cli v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

untoken-cli: A token replacement CIL tool for text.

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=January

The 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

  1. Clone this repo.
  2. Install dependencies: npm i
  3. Profit!

Tests

npm t

Publishment

Every semver tag pushed to this repo will be published via GitHub Actions.

Crafted by Rubens Mariuzzo. MIT license