https://github.com/keidrun/qstackoverflow
Stack Overflow's Search CLI.
https://github.com/keidrun/qstackoverflow
kotlin stackexchange stackoverflow
Last synced: 2 months ago
JSON representation
Stack Overflow's Search CLI.
- Host: GitHub
- URL: https://github.com/keidrun/qstackoverflow
- Owner: keidrun
- License: mit
- Created: 2017-05-15T11:55:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-31T16:06:24.000Z (over 8 years ago)
- Last Synced: 2025-01-23T09:41:57.043Z (11 months ago)
- Topics: kotlin, stackexchange, stackoverflow
- Language: Kotlin
- Size: 85 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# qstackoverflow
[![tests][tests]][tests-url]
[![coverage][cover]][cover-url]
Stack Overflow's Search CLI.
## Description
Provide the 'sos' command to search the stack overflow's title.
For example, if you want to search how to use kotlin, type the following command:
```
$ sos 'how to use kotlin'
```
## Install
```
$ curl -fsSL https://raw.githubusercontent.com/keidrun/qstackoverflow/master/install | bash
```
## Usage
```
$ sos -h
usage: sos [title] [option...]
-c,--csv show csv format
-f,--fromdate set a "fromdate" parameter, a format must be
"yyyy-MM-dd"
-g,--tagged set a "tagged" parameter.
-h,--help show help
-l,--lang access the language's site, "en"(default) or
"ja"
-max,--maxdate set a "max" date parameter, a format must be
"yyyy-MM-dd"
-min,--mindate set a "min" date parameter, a format must be
"yyyy-MM-dd"
-n,--notagged set a "notagged" parameter
-o,--order set a "order" parameter, "desc"(default) or
"asc"
-p,--page set a "page" parameter
-r,--raw show raw json
-s,--sort set a "sort" parameter, "activity"(default) or
"votes" or "creation" or "relevance"
-t,--todate set a "todate" parameter, a format must be
"yyyy-MM-dd"
-v,--verbose show verbose
-z,--pagesize set a "pagesize" parameter
```
In detail, see [the stackexchange's search api](https://api.stackexchange.com/docs/search "search").
## Uninstall
```
$ cd qstackoverflow
$ ./uninstall
```
[tests]:https://travis-ci.org/keidrun/qstackoverflow.svg?branch=master
[tests-url]:https://travis-ci.org/keidrun/qstackoverflow
[cover]:https://codecov.io/gh/keidrun/qstackoverflow/branch/master/graph/badge.svg
[cover-url]:https://codecov.io/gh/keidrun/qstackoverflow