An open API service indexing awesome lists of open source software.

https://github.com/thecodejack/adi-cli

node's CLI template
https://github.com/thecodejack/adi-cli

Last synced: about 1 year ago
JSON representation

node's CLI template

Awesome Lists containing this project

README

          

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.