Skip to content
This repository has been archived by the owner on Aug 30, 2020. It is now read-only.

brandon93s/kmder-kmds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kmder-kmds

A collection of commands for kmder

Installation

First, install kmder:

$ yarn global add kmder # OR npm install kmder --global

Second, clone the kmder-kmds repository and install dependencies:

$ git clone https://github.com/brandon93s/kmder-kmds.git
$ cd kmder-kmds
$ yarn install # or npm install

Finally, add kmder-kmds as a source for kmder:

$ kmd source add kmder-kmds path/to/clone

All commands should now be available via kmd.

Commands

Included commands are described below:

get / set / delete

The get, set and delete expose a key-value store allowing you to store arbitrary information:

$ kmd set demo "kmder is awesome"
  > set demo:kmder is awesome

$ kmd get demo
  > kmder is awesome

$ kmd delete demo
  > deleted demo


fx

The fx command loads and reports the exchange rate for the provided currencies:

$ kmd fx USD GBP
  > 0.73792

$ kmd fx GBP USD
  > 1.3552


btc

The btc command loads and reports the current price of 1 BTC in USD:

$ kmd btc
  > 17532.25


google

The google command performs a Google Search in your default browser:

$ kmd google time in ATL
  > Google search for "time in atl" opened in default browser...


crypto

The crypto command returns pricing information for the given crypto coin and currency:

$ kmd crypto xrp usd
> -
  base:   XRP
  target: USD
  price:  2.58750026
  volume: 84580304.47344100
  change: -0.07019374


news

The news command returns headlines and summaries for the given term(s):

$ kmd news spectre
> -
  title:   Meltdown, Spectre, Malicious Apps, and More of This Week's Security News  
  summary: Meltdown, Spectre, malicious Android apps, and more of the week's top security news.
  source:  Wired
  url:     https://www.wired.com/story/google-pulls-60-malicious-apps-from-play-store/
  date:    2018-01-13T13:00:00Z


License

MIT © Brandon Smith

Releases

No releases published

Packages

No packages published