1.0.1 • Published 11 months ago

msaki-reddit-cli v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

reddit cli

This cli opens a random redit post in your browser

How to use cli

This install your cli in you global

npm install msaki-reddit-cli

Run cli

reddit

Or use print flag to print reddit post link

# using --print
reddit --print

# 0r
reddit -P

Expected stdout:

reddit-cli git:(main) ✗ reddit -p

    title: LPT Request: How do I stop scrolling my phone? Literally nothing I’ve tried works
    link: https://reddit.com//r/LifeProTips/comments/13wmoc3/lpt_request_how_do_i_stop_scrolling_my_phone/

Publish cli

Log in to your npm account

npm login

Publish package

npm publish

Development: install locally by cloning repo

To install cli in your global npm packages

# go to root directory
cd redit-cli/

# then

npm install -g
1.0.1

11 months ago

1.0.0

11 months ago