January 12, 2008 2:54 PM

Mutlitask

Did you know that NanoBlogger can multitask?

  1. Apply changes immediately after changing configuration.

    nb configure query all update
    
    
  2. Edit a new article and have it generated immediately.

    nb draft [blog_dir]articles/example.txt query main update
    
    
  3. Publish changes immediately after an edit or delete action.

    nb edit 1 publish
    nb delete 1 publish
    
    
  4. Combining preview and publish (when "add" is not invoked).

    nb edit 1 preview publish
    nb draft [blog_dir]articles/example.txt query main update preview publish
    
    

Some notes:

  • As of this writing, both "preview" and "publish" are already ran automatically whenever the "add" action is invoked.
  • You can use the "--interactive 0" option to prevent NanoBlogger from stopping and asking a lot of questions.