@specialblend/cator

0.0.1 • Public • Published

cator

cli command that prints (cats) a file, or provided fallback value if the file is empty or doesn't exist

usage

# prints `hello`
cator /dev/null hello

# prints `world`
cator non-existent-file world

# prints contents of `existent-file.txt`
cator existent-file.txt foo

Readme

Keywords

Package Sidebar

Install

npm i @specialblend/cator

Weekly Downloads

0

Version

0.0.1

License

ISC

Unpacked Size

957 B

Total Files

3

Last publish

Collaborators

  • __specialblend__