class_docstr: A class to load, modify, and display the StreamAlertCLI Config
docstr: Toggle rule staging on or off
  
  Args:
      enabled (bool): False if disabling rule staging, true if enabling
docstr_tok: ["Toggle","rule","staging","on","or","off","Args",":","enabled","(","bool",")",":","False","if","disabling","rule","staging",",","true","if","enabling"]
code: def toggle_rule_staging(self, enabled):
      """Toggle rule staging on or off
  
      Args:
          enabled (bool): False if disabling rule staging, true if enabling
      """
      print(
          "Setting rule staging enabled setting to: {}".format(enabled)
      )
      self.config["global"]["infrastructure"]["rule_staging"][
          "enabled"
      ] = enabled
      self.write()
  
imports: import json
  import os
  import re
  import shutil
  import string
  import tempfile
  from streamalert.apps import StreamAlertApp
  from streamalert.shared import CLUSTERED_FUNCTIONS, config, metrics
  from streamalert.shared.logger import get_logger
  from streamalert_cli.terraform import TERRAFORM_FILES_PATH
  from streamalert_cli.apps.helpers import save_app_auth_info
  from streamalert_cli.helpers import continue_prompt
label_desc: Use image node_id 13 for calling the CLIConfig obj's underlying member method code with example usage: obj.toggle_rule_staging(enabled) without return types