[keel] Cleanup pack tool

This commit is contained in:
Gary Talent 2024-12-18 22:11:51 -06:00
parent 462f2bca4c
commit 37030f9c11

View File

@ -81,7 +81,11 @@ static ox::Error pack(
return {};
}
static ox::Error run(ox::SpanView<char const*> argv, ox::StringView projectDataDir) noexcept {
ox::Error run(
[[maybe_unused]] ox::StringView project,
[[maybe_unused]] ox::StringView appName,
ox::StringView projectDataDir,
ox::SpanView<ox::CString> argv) noexcept {
ox::ClArgs const args(argv);
auto const argSrc = args.getString("src", "");
auto const argRomBin = args.getString("rom-bin", "");
@ -96,11 +100,3 @@ static ox::Error run(ox::SpanView<char const*> argv, ox::StringView projectDataD
}
return pack(argSrc, argRomBin, argManifest, projectDataDir);
}
ox::Error run(
[[maybe_unused]] ox::StringView project,
[[maybe_unused]] ox::StringView appName,
ox::StringView projectDataDir,
ox::SpanView<ox::CString> argv) noexcept {
return ::run(argv, projectDataDir);
}