Skip to main content

Stack overflow commnand line interface. SoCLI allows you to search and browse stack overfow from the terninal.

Project description

Stack overflow command line stack overflow client written in python. Using SoCLI you can search and browse stack overflow without leaving the terminal. Just use the socli command:

socli in action

socli in action

Installation

Supported platforms

  • Linux

  • Windows

  • Mac

Requirements

  • python 3+ :

For Linux

Install python3:

sudo apt-get install python3

Just use pip command to install socli:

sudo pip3 install socli

For Windows

Download and install python 3. Dont forget to check the option “Add to path”

Open a command prompt with administrative privileges and use pip command to install socli:

pip3 install socli

For Mac (via homebrew)

brew install python3
pip3 install socli

Usage

Syntax:

socli has the following syntax

Usage: socli [ Arguments] < Search Query >

Arguments (optional)

Short

Long

Descript ion

Example

-q

–query

Used to specify the query when argument s 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

–interac tive

Used to search interact ively. 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

-h

–help

Displays the help text.

socli –help

Query

It refers to query to search in stack overflow.

Contributing

If you are willing to contribute to SoCLI project, You are awesome! Just follow the steps below:

  1. Fork it!

  1. Make a local clone: sh git clone https://github.com/{YOUR_USERNAME}/socli.git

  2. Switch to the directory: cd socli

  3. Create your new branch: git checkout -b feature name

  4. Make necessary changes to this source code

  5. Add changes to git index by using git add --all .

  6. Commit your changes: git commit -am 'Added new feature'

  7. Push to the branch: git push

  8. Submit a new pull request

Bugs

If you are experiencing any bugs, don’t forget to open a new issue.

Liked it?

Hope you liked this project, don’t forget to give it a Star on GitHub

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

socli-1.8.zip (6.4 kB view details)

Uploaded Source

File details

Details for the file socli-1.8.zip.

File metadata

  • Download URL: socli-1.8.zip
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for socli-1.8.zip
Algorithm Hash digest
SHA256 04ed933cfa216d03b2a1e2e8f56ec2b6520d631a68b152f70ae8fb244c2708a9
MD5 cb8505611e501ada12619881d6a4d983
BLAKE2b-256 3393e8a1fbea01a219d56c82ae68b7b03e604bce4b65397795ecfbade33aa177

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page