https://pantsbuild.org/ logo
w

wide-midnight-78598

10/20/2022, 2:23 AM
@witty-crayon-22786 Is there any mechanism to get the builtin goal data in regular goals? I registered a new export subsystem, but without the full help data - completions are a no-go. They don't seem to be injected by graph rules, so I'm not sure if there is another mechanism in play
Copy code
def run(
        self,
        build_config: BuildConfiguration,
        graph_session: GraphSession,
        options: Options,
        specs: Specs,
        union_membership: UnionMembership,
    ) -> ExitCode:
        all_help_info = HelpInfoExtracter.get_all_help_info(
            options,
            union_membership,
            graph_session.goal_consumed_subsystem_scopes,
            RegisteredTargetTypes.create(build_config.target_types),
            build_config,
        )