Skip to content

thecodejack/adi-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

adi-cli

This is my personal CLI which i have been using for months. I have removed most of things and shared my CLI as a template to build your own. Now you can do whatever you want with the code. This is build in Node using Meow, Chalk, Inquirerjs, unirest.

Install

Makesure node or iojs, npm are installed in your PC. Move to the repository folder through terminal Run following command

$ npm install . -g

Please note that first line of file adi.js

#!/usr/bin/env iojs

should be corrected to following if you are using node rather iojs

#!/usr/bin/env node

Usage

Following command display the current forecast of Hyderabad, India.(Will soon move it into a setup)

$ adi climate

If you run adi with any words, it will display information about same

$ adi Java script

You can add as many commands as you want.

Available Commands

adi hello
adi cricket
adi climate
adi askme
adi **

** provide any string, will display DuckDuckGo results Eg: adi java script

Support (OS Terminals)

You should expect mostly good support for the CLI below.

  • Mac OS:
    • Terminal.app
    • iTerm
  • Windows:
    • cmd.exe
    • Powershell
    • Cygwin
  • Ubuntu:
    • Terminal

TODO

  • Config setup
  • There are more commands like live f1, live football, mytwitter, hn(Hacker News). Will push them by replacing personal API keys.

About

node's CLI template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published