code: function addCommand() {
  
          var menu                    = Menus.getMenu(Menus.AppMenuBar.FILE_MENU),
              INSTALL_COMMAND_SCRIPT  = "file.installCommandScript";
  
          CommandManager.register(Strings.CMD_LAUNCH_SCRIPT_MAC, INSTALL_COMMAND_SCRIPT, handleInstallCommand);
          menu.addMenuDivider();
          menu.addMenuItem(INSTALL_COMMAND_SCRIPT);
      }
docs: Register the command and add the menu to file menu.