code: def cmd(name, accepts_force=False):
      
      def decorator(func):
          @_cmd(name)
          def command_wrapper(editor, variables):
              force = bool(variables['force'])
  
              if force and not accepts_force:
                  editor.show_message('No ! allowed')
              elif accepts_force:
                  func(editor, force=force)
              else:
                  func(editor)
          return func
      return decorator
docs: Decarator that registers a command that doesn't take any parameters.