3.0.0 • Published 3 years ago

indent-string-cli v3.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

indent-string-cli

Indent each line in a string

Install

npm install --global indent-string-cli

Usage

$ indent-string --help

  Usage
    $ indent-string <string> [--count=<number>] [--indent=<string>]
    $ cat file.txt | indent-string > indented-file.txt

  Example
    $ indent-string "$(printf 'Unicorns\nRainbows\n')" --count=4 --indent=♥
    ♥♥♥♥Unicorns
    ♥♥♥♥Rainbows

Related