Skip to content

MLH-Fellowship/stackoverflow-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

53 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

stackoverflow-cli

Search any query on Stack Overflow without leaving your IDE
version downloads license

πŸ’₯ stackoverflow-cli

  • Search any query inside your terminal
  • Top 10 threads
  • Order the results in ascending/descending order
  • Sort the results via relevance/votes/activity/creation

↓ INSTALL

# install the cli globally
npm i -g cli-stackoverflow

# use it via npx
npx cli-stackoverflow

⚑️ USAGE

You can run the CLI by executing following commands inside the terminal:

stack

πŸ“ƒ Guide

  • Right β†’ key – Next thread
  • Left ← key – Prev thread
  • Up ↑ key – Next Answer
  • Down ↓ key – Prev Answer

demo

🏳 Flags

# CLI help
stack --help

help text

# Order results in ascending order
stack --asc

# Sort results according to the most activity
stack --activity

# Sort results according to  votes
stack --votes

# Sort results according to the creation
stack --creation

flags

πŸ‘¨πŸ»β€πŸ’» CONTRIBUTORS

πŸ”‘ LICENSE

  • MIT