@pavanjadhaw/up
v0.0.7
Published
a fast and minimal command line wrapper for sprk api
Downloads
12
Readme
a fast and minimal command line client for sprk api
Usage
$ up cutecats.png
# ✔ File uploaded... https://pwnj.pw/koyqd.png
This command uploads image(cutecats.png) and returns url of uploaded file https://pwnj.pw/koyqd.png and if you are dog person like @spark then here's doggo pic for ya.
Install
$ npm i -g @pavanjadhaw/up
Export sprk environment variables, add this to your .bashrc or .zshrc, you can get these by setting up sprk-api
export SPRK_SERVER_URL='https://pwnj.pw'
export SPRK_API_KEY='Yhhsnr8kJUmPhjS30ilmd9mCTLQ6pAg0'
Uninstall
It's sad to see you go :(
$ npm uninstall -g @pavanjadhaw/up
Depends
- sprk-api - api for this package
License
MIT © Pavan Jadhaw