Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A revised NanoBlogger CLI.
branch: master

This branch is even with neil-smithline-older-projects:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.org
nbc
nbc.sh
nbdebug
nbed
nbega
nbegd
nbel
nbga
nbgd
nbgl
nbgu
nbh
nbl
nbml
nbmu
nbnu
nbtest
nbu
nbuw
nbw
nbxu

README.org

This Is Beta Quality Code

This code works well enough that I use it as my sole interface to NB. If you have an interest in using it, let me know or just grab the code and try it. The only configuration that is required is to put the nbc directory into your path and to set the path to nb at the start of the nbc.sh file.

NanoBlogger Command Line

I use NanoBlogger, called NB by its fans, as the technology for my blog. I’m rather happy with its simplicity. I have several blog postings discussing my use of NB. My biggest complaint with it is its CLI. No matter how much I use it, I cannot remember the syntax for commands or make my hands type them correctly.

I’m not sure whether the difficulties I have with the NB command-line are due to the way my brain is wired, NB being limited by backwards compatibility, or something else. The only thing I know is that I find it painful to use in its current form.

Unburdened from backwards compatibility, I have been writing a front-end to NB that is more intuitive; that is, more intuitive to me. The CLI actually follows a formal grammar that is defined in the rather verbose comment in nbc.sh labeled “COMMAND NAME TRANSLATION GUIDE”.

What’s Missing

I have not completely rewritten the NB user interface. I have just done the parts I use. For example, I don’t use or support NB’s:

  • Real documentation (ie: not in the code).
  • Drafts
  • Importing entries
  • Changing entries’ dates
  • Queries (a very powerful feature but doesn’t fit my use model)
  • Articles
  • Meta-files

Credits

While I like my CLI very much, it only exists because of the cool work done on NanoBlogger. As NB is doing most of the work, credit should go there.

http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png

NBC by Neil Smithline is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License

Based on a work at github.com.

Permissions beyond the scope of this license may be available at http://www.neilsmithline.com.

Something went wrong with that request. Please try again.