diff --git a/README.md b/README.md index ed434c2..cafc141 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,14 @@ Usage easyblogger --blogid 7642453 get -p 3728334747597998671 ``` -4. Control which fields are printed out. +4. Get a specific post by its url + + ``` {.sourceCode .bash} + # get a specific post by url + easyblogger --blogid 7642453 get -u https://blog.rraghur.in/2015/06/js-development-2015.html + ``` + +5. Control which fields are printed out. ``` {.sourceCode .bash} # output field control diff --git a/README.rst b/README.rst index 338a253..9bda0b5 100644 --- a/README.rst +++ b/README.rst @@ -205,7 +205,14 @@ Getting posts # get a specific post by id easyblogger --blogid 7642453 get -p 3728334747597998671 -4. Control which fields are printed out. +4. Get a specific post by its url + + .. code:: bash + + # get a specific post by url + easyblogger --blogid 7642453 get -u https://blog.rraghur.in/2015/06/js-development-2015.html + +5. Control which fields are printed out. .. code:: bash @@ -213,7 +220,7 @@ Getting posts easyblogger get -p 3728334747597998671 -f "id,title,url,labels" 3728334747597998671,Rewriting history with Git,http://blog.rraghur.in/2012/12/rewriting-history-with-git.html,[u'git', u'HOWTO', u'Tips'] -5. Output in (lightweight) markup - very good for updates. +6. Output in (lightweight) markup - very good for updates. - If its a single post, then its printed to console. diff --git a/setup.py b/setup.py index 7cccf3f..4ff63fc 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ def readme(): setup(name="EasyBlogger", - version="1.2.3", + version="1.2.4", author="Raghu Rajagopalan", author_email="raghu.nospam@gmail.com", description=("A (very) easy CLI interface to Blogger blogs"),