Add a command() API for Nikola commands.