The easybook project (posted on HN recently) is also a command-line utility: http://easybook-project.org/