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
- Host: GitHub
- URL: https://github.com/thecodejack/adi-cli
- Owner: thecodejack
- License: mit
- Created: 2015-06-22T17:51:05.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-27T15:47:20.000Z (almost 11 years ago)
- Last Synced: 2025-02-14T02:54:52.491Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 108 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.