dailyprog
Version:
Fetches Coding Questions from the r/dailyprogrammer subreddit based on the question and difficulty entered.
92 lines (61 loc) • 2.19 kB
Markdown
<h1 align="center">
<br>
<a href="https://www.npmjs.com/package/dailyprog"><img src="images/dailyprog.png" alt="DailyProg" width="200"></a>
<br>
DailyProg
<br>
</h1>
<h4 align="center">Fetch coding questions from the <strong>r/dailyprogrammer</strong> subreddit easily from your terminal. No need to open your browser.</h4>
<p align="center">
<a href="https://badge.fury.io/js/dailyprog">
<img src="https://badge.fury.io/js/dailyprog.svg"
alt="Gitter">
</a>
</p>
<p align="center">
<a href="#build-with">Build With</a> •
<a href="#installation">Installation</a> •
<a href="#usage">Usage</a> •
<a href="#credits">Credits</a> •
<a href="#support">Support</a> •
<a href="#license">License</a>
</p>
<p align="center">
<img alt="DEMO GIF" src="https://media.giphy.com/media/yyYfpIromlL1STfQPB/giphy.gif" />
</p>
## Build With
Node
## Installation
With [npm](https://npmjs.org/) installed, run
$ npm install -g dailyprog
## Usage
$ dailyprog -q <questionNumber> -d <difficultyLevel>
### Options
```
Options:
--help Show help [boolean]
--version Show version number [boolean]
-q, --question Enter the question number [string] [required]
-d, --difficulty Choose a difficulty level [string] [required] [choices: "easy", "intermediate", "hard"]
```
### Examples
```
# Shorter Way
$ dailyprog -q 120 -d easy
# Longer Way
$ dailyprog --question 120 --difficulty easy
```
## Credits
This software uses the following open source packages:
- [Node.js](https://nodejs.org/)
- [yargs](https://www.npmjs.com/package/yargs)
- [axios](https://www.npmjs.com/package/axios)
- [chalk](https://www.npmjs.com/package/chalk)
- [cli-html](https://www.npmjs.com/package/cli-html)
- [he](https://www.npmjs.com/package/he)
## Support
If you found my project helpful, give it a :star:
## License
ISC
---
> GitHub [@anirudh-pandey](https://github.com/anirudh-pandey) ·