{"record":{"id":"a77c6cd5b3fff311","repo":"slint-ui/slint","slug":"unknown-command-command","errorCode":null,"errorMessage":"unknown command: ${command}","messagePattern":"unknown command: (.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"api/node/scripts/packaging.mts","lineNumber":253,"sourceCode":"            });\n            break;\n        }\n        case \"pack-dev-meta\": {\n            const [version, dest, ...targets] = args;\n            await packDevMeta({\n                version,\n                dest,\n                targets: targets.length ? targets : undefined,\n            });\n            break;\n        }\n        case \"publish-all\": {\n            const [dir, registry, tag] = args;\n            await publishAll({ dir, registry, tag: tag || undefined });\n            break;\n        }\n        default:\n            throw new Error(`unknown command: ${command}`);\n    }\n}\n\n// Run as a CLI when executed directly (rather than imported).\nif (process.argv[1] && fileURLToPath(import.meta.url) === process.argv[1]) {\n    main(process.argv.slice(2)).catch((error) => {\n        console.error(error);\n        process.exit(1);\n    });\n}\n","sourceCodeStart":235,"sourceCodeEnd":264,"githubUrl":"https://github.com/slint-ui/slint/blob/3fd8f2ec03c2aa8a95d5f4b9daa299c7b8bf4016/api/node/scripts/packaging.mts#L235-L264","documentation":"Error \"unknown command: ${command}\" thrown in slint-ui/slint.","triggerScenarios":"Thrown at api/node/scripts/packaging.mts:253 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Run the script with one of the supported commands listed in its usage output.","Check the command spelling against the packaging script's command list."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"3fd8f2ec03c2aa8a95d5f4b9daa299c7b8bf4016","analyzedAt":"2026-08-19T23:23:16.610Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}