code: function (commandName, fn) {
              var config = this.config;
              config.commands = config.commands || {};
              config.commands[commandName] = fn;
          }
docs: add command definition to current template
  @param commandName
  @param {Function} fn command definition