File tree Expand file tree Collapse file tree 1 file changed +78
-0
lines changed
Expand file tree Collapse file tree 1 file changed +78
-0
lines changed Original file line number Diff line number Diff line change 1+ ![ stackoverflow-cli] ( images/cover.png )
2+
3+ <div align =" center " >
4+ <b>Search any query on Stack Overflow without leaving your IDE</b>
5+ <br>
6+ <img src="https://img.shields.io/npm/v/cli-stackoverflow?color=%23f48024" alt="version">
7+ <img src="https://img.shields.io/npm/dt/cli-stackoverflow?color=f48024" alt="downloads">
8+ <img src="https://img.shields.io/npm/l/cli-stackoverflow?color=f48024" alt="license">
9+ </div >
10+
11+ # 💥 stackoverflow-cli
12+
13+ - Search any query inside your terminal
14+ - Top 10 threads
15+ - Order the results in ascending/descending order
16+ - Sort the results via relevance/votes/activity/creation
17+
18+ ## ↓ INSTALL
19+
20+ ``` sh
21+ # install the cli globally
22+ npm i -g cli-stackoverflow
23+
24+ # use it via npx
25+ npx cli-stackoverflow
26+ ```
27+
28+ ## ⚡️ USAGE
29+
30+ You can run the CLI by executing following commands inside the terminal:
31+
32+ ``` sh
33+ stack
34+ ```
35+
36+ ### 📃 Guide
37+
38+ - <kbd >Right →</kbd > key – Next thread
39+ - <kbd >Left ←</kbd > key – Prev thread
40+ - <kbd >Up ↑</kbd > key – Next Answer
41+ - <kbd >Down ↓</kbd > key – Prev Answer
42+
43+ ![ demo] ( images/demo.gif )
44+
45+ ### 🏳 Flags
46+
47+ ``` sh
48+ # CLI help
49+ stack --help
50+ ```
51+
52+ ![ help text] ( images/cli-help.png )
53+
54+ ``` sh
55+ # Order results in ascending order
56+ stack --asc
57+
58+ # Sort results according to the most activity
59+ stack --activity
60+
61+ # Sort results according to votes
62+ stack --votes
63+
64+ # Sort results according to the creation
65+ stack --creation
66+ ```
67+
68+ ![ flags] ( images/flags-demo.gif )
69+
70+ ## 👨🏻💻 CONTRIBUTORS
71+
72+ - [ Saad Irfan] ( https://github.com/msaaddev )
73+ - [ Aneesh Kodali] ( https://github.com/aneeshkodali )
74+ - [ Angelina Gasharova] ( https://github.com/angelinag )
75+
76+ ## 🔑 LICENSE
77+
78+ - MIT
You can’t perform that action at this time.
0 commit comments