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)
Short |
Long |
Description |
Example |
-q |
--query |
Used 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 |
--interactive |
Used to search interactively. It doesnt take any values. It must be followed by a -q or --query after it. |
socli -i -q query |
-r |
--res |
Used 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 |
--tag |
Specifies 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 |
--new |
Opens the web browser to create a new question on stack overflow. |
socli --new |
-h |
--help |
Displays 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.