$ go get -v github.com/syui/xq
$ xq /path/to/rss.xml
[{"title":"Creating a new theme","link":"https://syui.gitlab.io/test-hugo-theme-wave/2016/01/01/creating-a-new-theme/","date":"2018-01-16T00:00:00.000+09:00"}, {"title":"Archive","link":"https://syui.gitlab.io/test-hugo-theme-wave/archive/","date":"2018-01-16T00:00:00.000+09:00"}]
$ git clone https://github.com/syui/xq
$ cd xq
$ go build -o xq
$ ./xq h
$ curl -sLO https://syui.cf/hugo-theme-air/index.xml
$ xq i ./index.xml
{
"title": "Creating a new theme",
"link": "https://syui.gitlab.io/test-hugo-theme-wave/2016/01/01/creating-a-new-theme/",
"date": "2018-01-16T00:00:00.000+09:00"
}
$ xq l link index.xml
https://syui.gitlab.io/test-hugo-theme-wave/2016/01/01/creating-a-new-theme/
$ xq l title index.xml
Creating a new theme
$ xq p index.xml
2018-01-16T00:00:00.000+09:00
-
0.2.0 : urfave/cli/v2
-
0.2.1 : option/[a]ll(json)
-
0.2.2 : option/publish
-
0.2.3 : fix option/[i]tem(json)
-
0.2.4 : option/none, $ xq file
-
0.3.0 : sub-command/{link, title, published, description}, $ xq l link ./index.xml