Skip to main content
edited body; edited tags
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

Stack overflowOverflow CLI

Download and install python. DontDon't forget to check the option "Add to path".

This will display a list of questions from stack overflow for the query "html error 404" and it will allow you to choose any of the question you like interactively. When you chose a question, it will display the complete description of the chosedchosen question with its most voted answer. Now you can browse through all the answers of that questions on stack overflow interactively.

You can also specify multiple tags, Just seporateseparate them with a comma:

If you can't find an answer for your question in stack overflow, socli allows you to creata a new question via the web browswerbrowser. Just type the command below and socli will open the new question page of stack overflow in the web browser for you:

Stack overflow CLI

Download and install python. Dont forget to check the option "Add to path".

This will display a list of questions from stack overflow for the query "html error 404" and it will allow you to choose any of the question you like interactively. When you chose a question, it will display the complete description of the chosed question with its most voted answer. Now you can browse through all the answers of that questions on stack overflow interactively.

You can also specify multiple tags, Just seporate them with a comma:

If you can't find an answer for your question in stack overflow, socli allows you to creata a new question via the web browswer. Just type the command below and socli will open the new question page of stack overflow in the web browser for you:

Stack Overflow CLI

Download and install python. Don't forget to check the option "Add to path".

This will display a list of questions from stack overflow for the query "html error 404" and it will allow you to choose any of the question you like interactively. When you chose a question, it will display the complete description of the chosen question with its most voted answer. Now you can browse through all the answers of that questions on stack overflow interactively.

You can also specify multiple tags, Just separate them with a comma:

If you can't find an answer for your question in stack overflow, socli allows you to creata a new question via the web browser. Just type the command below and socli will open the new question page of stack overflow in the web browser for you:

replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

See the complete list of tags herehere.

See the complete list of tags here.

See the complete list of tags here.

upated to latest version
Source Link

Installation

Installation

Method 1 (Using Installer :star: Easy way)

Download and install the latest release of SoCLI-Setup.exe for windows. It is a self contained package with all the required dependencies. This package also contain auto updater for SoCLI.

Method 2 (Using PIP)
pip install socli
pip install socli
brew install python
easy_install pip
pip install socli
brew install python
easy_install pip
pip install socli

Updating

Updating

sudo pip install --upgrade socli
sudo pip install --upgrade socli

Usage

UsageQuick search

Quick search
socli for loop in python syntax

socli for loop in python syntax
Interactive search

Interactive search

socli -iq html error 404
socli -iq html error 404
Manual search

Manual search

socli -r 2 -q javascript porotype function
socli -r 2 -q javascript porotype function
Topic based search

Topic based search

socli -t javascript -q window.open
socli -t javascript -q window.open
socli -t javascript,node.js -q window.open
socli -t javascript,node.js -q window.open
New question

New question

socli -n
socli -n
Arguments (optional)
ShortLongDescriptionExample
-q--queryUsed to specify the query when arguments are used. A query value must be passed to it. If it is used alone (socli -q query) then it will display the same result as "socli query".socli -i -q query
-i--interactiveUsed to search interactively. It doesnt take any values. It must be followed by a -q or --query after it.socli -i -q query
-r--resUsed for manual search. It takes the question number as the argument and it must be followed by a -q or --query after it.socli -r 4 -q query
-t--tagSpecifies the tag to search for the query on stack overflow. It must be followed by a -q or --query after it.socli -t js -q query
-n--newOpens the web browser to create a new question on stack overflow.socli --new
-h--helpDisplays the help text.socli --help
Query

To Do

Command line interface for:

  • [ ] Stack overflow authentication
  • [ ] Posting to stack overflow
  • [ ] Upvote answer
  • [ ] Comment on an answer
  • [ ] Browsing stackoverflow home page

Please check out the list of issues.

Visit https://github.com/gautamkrishnar/socli for more info.

Installation

Method 1 (Using Installer :star: Easy way)

Download and install the latest release of SoCLI-Setup.exe for windows. It is a self contained package with all the required dependencies. This package also contain auto updater for SoCLI.

Method 2 (Using PIP)
pip install socli
brew install python
easy_install pip
pip install socli

Updating

sudo pip install --upgrade socli

Usage

Quick search
socli for loop in python syntax

Interactive search
socli -iq html error 404
Manual search
socli -r 2 -q javascript porotype function
Topic based search
socli -t javascript -q window.open
socli -t javascript,node.js -q window.open
New question
socli -n
Arguments (optional)
ShortLongDescriptionExample
-q--queryUsed to specify the query when arguments are used. A query value must be passed to it. If it is used alone (socli -q query) then it will display the same result as "socli query".socli -i -q query
-i--interactiveUsed to search interactively. It doesnt take any values. It must be followed by a -q or --query after it.socli -i -q query
-r--resUsed for manual search. It takes the question number as the argument and it must be followed by a -q or --query after it.socli -r 4 -q query
-t--tagSpecifies the tag to search for the query on stack overflow. It must be followed by a -q or --query after it.socli -t js -q query
-n--newOpens the web browser to create a new question on stack overflow.socli --new
-h--helpDisplays the help text.socli --help
Query

To Do

Command line interface for:

  • [ ] Stack overflow authentication
  • [ ] Posting to stack overflow
  • [ ] Upvote answer
  • [ ] Comment on an answer
  • [ ] Browsing stackoverflow home page

Please check out the list of issues.

Installation

pip install socli
brew install python
easy_install pip
pip install socli

Updating

sudo pip install --upgrade socli

Usage

Quick search

socli for loop in python syntax

Interactive search

socli -iq html error 404

Manual search

socli -r 2 -q javascript porotype function

Topic based search

socli -t javascript -q window.open
socli -t javascript,node.js -q window.open

New question

socli -n
Query

Please check out the list of issues.

Visit https://github.com/gautamkrishnar/socli for more info.

upated to latest version
Source Link
Loading
added 2 characters in body
Source Link
ᔕᖺᘎᕊ
  • 4.4k
  • 2
  • 16
  • 37
Loading
added 1 character in body; edited tags
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64
Loading
Source Link
Loading