code: def gather_command_line_options(filter_disabled=None):
      """Get a sorted list of all CommandLineOption subclasses."""
      if filter_disabled is None:
          filter_disabled = (
              not SETTINGS.COMMAND_LINE.SHOW_DISABLED_OPTIONS
          )
  
      options = []
      for opt in get_inheritors(commandline_options.CommandLineOption):
          warnings.warn(
              "Subclassing `CommandLineOption` is deprecated. Please "
              "use the `sacred.cli_option` decorator and pass the function "
              "to the Experiment constructor."
          )
          if filter_disabled and not opt._enabled:
              continue
          options.append(opt)
  
      options += DEFAULT_COMMAND_LINE_OPTIONS
  
      return sorted(options, key=commandline_options.get_name)
  
imports: import inspect
  import os.path
  import sys
  import warnings
  from collections import OrderedDict
  from typing import Sequence, Optional, List
  from docopt import docopt, printable_usage
  from sacred import SETTINGS
  from sacred.arg_parser import format_usage, get_config_updates
  from sacred import commandline_options
  from sacred.commandline_options import CLIOption
  from sacred.commands import help_for_command, print_config, print_dependencies, save_config, print_named_configs
  from sacred.observers.file_storage import file_storage_option
  from sacred.observers.s3_observer import s3_option
  from sacred.config.signature import Signature
  from sacred.ingredient import Ingredient
  from sacred.initialize import create_run
  from sacred.observers.sql import sql_option
  from sacred.observers.tinydb_hashfs import tiny_db_option
  from sacred.run import Run
  from sacred.host_info import check_additional_host_info, HostInfoGetter
  from sacred.utils import print_filtered_stacktrace, ensure_wellformed_argv, SacredError, format_sacred_error, PathType, get_inheritors
  from sacred.observers.mongo import mongo_db_option
label_desc: Use image node_id 1 for calling a global function with example usage: gather_command_line_options(filter_disabled) and returns: sorted