Dilawar's Notes

dilawar

Open Source Projects Might be useful to you

MastersMicroelectronics and VLSI

Ph. D.Abandoned after 3 years

Research Fellow Moose, The Neural Simulator

Blog This much I know

Project Info

Create, or edit/update your post on Wordpress in terminal.

Summary

  • Fetch all posts.
$ twordpress --blog 1 --fetch all
  • Fetch a post with a title matching the given string. This will fetch posts whose title matches given after --fetch option.
$ twordpress --blog 0 --fetch "Python is awesome"
  • Update a post with given markdown content. See the format of file here.
$ twordpress --blog 0 --update path_to_new_content.md
  • Update a post on blog 1 with a raw html content.
$ twordpress --blog 1 --new new_blog.html

It supports jekyll like post format.

comments powered by Disqus