def add_parser_arguments()

in idb/cli/commands/file.py [0:0]


    def add_parser_arguments(self, parser: ArgumentParser) -> None:
        group = parser.add_mutually_exclusive_group()
        group.add_argument(
            "--bundle-id",
            help="DEPRECATED: Use --application instead. Bundle ID of application. If not provided, the 'root' of the target will be used.",
            type=str,
            required=False,
            default=None,
        )
        _add_container_types_to_group(
            group,  # pyre-fixme[6]: _MutuallyExclusiveGroup is not public.
            [
                (
                    FileContainerType.APPLICATION,
                    "Use the container of application containers. Applications containers are presented, by bundle-id in the root.",
                ),
                (
                    FileContainerType.AUXILLARY,
                    "Use the auxillary container. This is where idb will store intermediate files.",
                ),
                (
                    FileContainerType.GROUP,
                    "Use the group containers. Group containers are shared directories between applications and are prefixed with reverse-domain identifiers (e.g 'group.com.apple.safari')",
                ),
                (FileContainerType.ROOT, "Use the root file container"),
                (FileContainerType.MEDIA, "Use the media container"),
                (FileContainerType.CRASHES, "Use the crashes container"),
                (FileContainerType.DISK_IMAGES, "Use the disk images"),
                (
                    FileContainerType.PROVISIONING_PROFILES,
                    "Use the provisioning profiles container",
                ),
                (FileContainerType.MDM_PROFILES, "Use the mdm profiles container"),
                (
                    FileContainerType.SPRINGBOARD_ICONS,
                    "Use the springboard icons container",
                ),
                (FileContainerType.WALLPAPER, "Use the wallpaper container"),
                (
                    FileContainerType.XCTEST,
                    "Use the container of installed xctest bundles",
                ),
                (FileContainerType.DYLIB, "Use the container of installed dylibs"),
                (FileContainerType.DSYM, "Use the container of installed dsyms"),
                (
                    FileContainerType.FRAMEWORK,
                    "Use the container of installed frameworks",
                ),
                (
                    FileContainerType.SYMBOLS,
                    "Use the container of target-provided symbols/dyld cache",
                ),
            ],
        )
        super().add_parser_arguments(parser)