- add("datapack", &Loader::component<Component::DATAPACK>);
- add("source_tarball", &Loader::source_tarball);
+ add("library", &Loader::component_arg<BinaryComponent, BinaryComponent::Type, BinaryComponent::LIBRARY>);
+ add("module", &Loader::component_arg<BinaryComponent, BinaryComponent::Type, BinaryComponent::MODULE>);
+ add("program", &Loader::component_arg<BinaryComponent, BinaryComponent::Type, BinaryComponent::PROGRAM>);
+ add("source_archive", &Loader::source_archive);
+ add("source_tarball", &Loader::source_archive);