diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2025-04-06 17:38:35 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2025-04-10 16:02:41 -0300 |
commit | 498aa6648fe134810d60a090517189241d63f652 (patch) | |
tree | ed62129591e1ca583eb5f851f26fa4a37038de82 /src/upd8.js | |
parent | ee59d6acd5504a517aae692d758c9ea223644a25 (diff) |
upd8: --skip-orphaned-artwork-validation (if you dare)
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-x | src/upd8.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/upd8.js b/src/upd8.js index 20195135..86ecab69 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -404,6 +404,11 @@ async function main() { type: 'flag', }, + 'skip-orphaned-artwork-validation': { + help: `Skips checking for internally orphaned artworks, which is a bad idea, unless you're debugging those in particular`, + type: 'flag', + }, + 'skip-reference-validation': { help: `Skips checking and reporting reference errors, which speeds up the build but may silently allow erroneous data to pass through`, type: 'flag', @@ -848,6 +853,16 @@ async function main() { }, }); + fallbackStep('reportOrphanedArtworks', { + default: 'perform', + cli: { + flag: 'skip-orphaned-artwork-validation', + negate: true, + warn: + `Skipping orphaned artwork validation. Hopefully you're debugging!`, + }, + }); + fallbackStep('filterReferenceErrors', { default: 'perform', cli: { |