Skip to content

Search Stack Overflow from your terminal. A Deno App!

License

Notifications You must be signed in to change notification settings

siokas/stacksearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stacksearch is a Deno script that lets developers search through Stack Overflow from the terminal. In order to run or install stacksearch you need to have deno installed in your machine. It is completely written in typescript which is supported in deno out of the box.

Installation

You may need to pass the --allow-net flag

Run without installation

deno --allow-net https://raw.githubusercontent.com/siokas/stacksearch/master/mod.ts YOUR_QUESTION_GOES_HERE

Install script locally

deno install --allow-net -n stacksearch https://raw.githubusercontent.com/siokas/stacksearch/master/mod.ts 

(you may consider to add the .deno/bin folder in your path, in order to run the script like this "stacksearch YOUR_QUESTION_GOES_HERE")

Usage example

To run the script just write with your questions and the stackexchange api will reply with all questions matching yours.

stacksearch TypeError

Enter the number of the question which you want to display the answers. To stop the script type exit or close. In the answer section there is also included the (stackoverflow) score of the answer and the mark if the answer is accepted.

Development setup

Thanks to Deno we do not care about the installation or configuration of dependencies. Assuming that you already have installed deno in your machine, just clone or download the repo and run deno command in mod.ts file.

Used

Release History

  • 0.1.0
    • Initial Commit

Meta

Apostolos Siokas – @siokas_apostolossiokas@gmail.com

Contributing

  1. Fork it (https://github.com/yourname/yourproject/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

License

Distributed under the MIT License.

https://github.com/siokas/stacksearch