gautamkrishnar / socli

Stack overflow command line client. Search and browse stack overflow without leaving the terminal :computer:

Home Page:https://pypi.python.org/pypi/socli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flag to output to std out

pspiagicw opened this issue · comments

Flag to output directly to std out

Features

A flag such as --raw-output could be implemented which just outputs the search result or the stackoverflow answer as machine parseable output.This enables it to be used in scripts where data manipulation tools like sed and awk could be used for the user's script

Usablity

Usefule in scripts automating the workflow if implemented properly

I'll try doing this

Is this available.I am interested in doing this if nobody wants to do it.

closing this once since we have json output now. Raw output is not required anymore. This json output can be printed using appropriate tools like jq.