docstr: Handle operations related to the rule table (listing, updating, etc)
  
  Args:
      options (argparse.Namespace): Various options needed by subcommand
          handlers
      config (CLIConfig): Loaded configuration from 'conf/' directory
  
  Returns:
      bool: False if errors occurred, True otherwise
docstr_tok: ["Handle","operations","related","to","the","rule","table","(","listing",",","updating",",","etc",")","Args",":","options","(","argparse.Namespace",")",":","Various","options","needed","by","subcommand","handlers","config","(","CLIConfig",")",":","Loaded","configuration","from","'conf\/","'","directory","Returns",":","bool",":","False","if","errors","occurred",",","True","otherwise"]
code: def handler(cls, options, config):
      """Handle operations related to the rule table (listing, updating, etc)
  
      Args:
          options (argparse.Namespace): Various options needed by subcommand
              handlers
          config (CLIConfig): Loaded configuration from 'conf/' directory
  
      Returns:
          bool: False if errors occurred, True otherwise
      """
      if options.subcommand == "enable":
          config.toggle_rule_staging(options.enable)
  
      table_name = "{}_streamalert_rules".format(
          config["global"]["account"]["prefix"]
      )
      if options.subcommand == "status":
          print(RuleTable(table_name).__str__(options.verbose))
  
      if options.subcommand in {"stage", "unstage"}:
          stage = options.subcommand == "stage"
          table = RuleTable(table_name)
          for rule in options.rules:
              table.toggle_staged_state(rule, stage)
  
      return True
  
file_path: streamalert/streamalert_cli/rule_table.py
imports: from streamalert.shared.rule_table import RuleTable
  from streamalert_cli.utils import CLICommand, generate_subparser, UniqueSortedListAction
label_desc: Use image node_id 7 for calling the RuleStagingCommand obj's underlying member method code with example usage: obj.handler(cls, options, config) and returns: True