UNPKG

@tufjs/cli

Version:
89 lines 2.5 kB
{ "commands": { "download-target": { "aliases": [ "download" ], "args": {}, "description": "download a target from a TUF repository and verify its signature", "examples": [ "<%= config.bin %> <%= command.id %>" ], "flags": { "cache-path": { "description": "path to the Sigstore TUF cache", "name": "cache-path", "required": false, "hasDynamicHelp": false, "multiple": false, "type": "option" }, "metadata-base-url": { "description": "URL to the TUF metadata repository", "name": "metadata-base-url", "required": true, "hasDynamicHelp": false, "multiple": false, "type": "option" }, "target-base-url": { "description": "URL to the TUF target repository", "name": "target-base-url", "required": false, "hasDynamicHelp": false, "multiple": false, "type": "option" }, "target-name": { "description": "name of the target to download", "name": "target-name", "required": true, "hasDynamicHelp": false, "multiple": false, "type": "option" }, "root": { "description": "path to the initial trusted root", "name": "root", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "unsafe-root-download": { "description": "allow downloading the trusted root from the TUF metadata repository (THIS IS NOT SAFE)", "name": "unsafe-root-download", "allowNo": false, "type": "boolean" }, "output-file": { "aliases": [ "output", "out" ], "char": "o", "description": "write output to file", "name": "output-file", "required": false, "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "download-target", "pluginAlias": "@tufjs/cli", "pluginName": "@tufjs/cli", "pluginType": "core", "strict": true, "enableJsonFlag": false, "isESM": false, "relativePath": [ "dist", "commands", "download-target.js" ] } }, "version": "0.4.0" }