UNPKG

sml-cli

Version:
118 lines 3.97 kB
{ "commands": { "validate": { "aliases": [], "args": { "filePath": { "default": ".", "description": "Path to the root of the SML project.", "name": "filePath", "required": false } }, "description": "Validate an SML project.", "examples": [ "<%= config.bin %> <%= command.id %>", "<%= config.bin %> <%= command.id %> ./path-to-sml-project" ], "flags": {}, "hasDynamicHelp": false, "hiddenAliases": [], "id": "validate", "pluginAlias": "sml-cli", "pluginName": "sml-cli", "pluginType": "core", "strict": true }, "atscale-deploy": { "aliases": [], "args": { "filePath": { "default": ".", "description": "Path to the root of the SML project.", "name": "filePath", "required": false } }, "description": "The command requires two environment variables:\n- ATSCALE_API_URL - AtScale API URL\n- ATSCALE_API_TOKEN - AtScale API token", "examples": [ "<%= config.bin %> <%= command.id %>", "<%= config.bin %> <%= command.id %> --catalog-name=\"Name\" --catalog-label=\"Label\"", "<%= config.bin %> <%= command.id %> --tableau-servers='[{\"name\": \"server1\", \"sites\": [\"site1\", \"site2\"]}, {\"name\": \"server2\", \"sites\": [\"site3\"]}]'", "<%= config.bin %> <%= command.id %> ./path-to-sml-project", "<%= config.bin %> <%= command.id %> ./path-to-sml-project --catalog-name=\"Name\" --catalog-label=\"Label\"", "<%= config.bin %> <%= command.id %> ./path-to-sml-project --tableau-servers='[{\"name\": \"server1\", \"sites\": [\"site1\", \"site2\"]}, {\"name\": \"server2\", \"sites\": [\"site3\"]}]'" ], "flags": { "catalog-name": { "description": "Override catalog unique name", "name": "catalog-name", "required": false, "hasDynamicHelp": false, "multiple": false, "type": "option" }, "catalog-label": { "description": "Override catalog label", "name": "catalog-label", "required": false, "hasDynamicHelp": false, "multiple": false, "type": "option" }, "tableau-servers": { "description": "JSON string of Tableau server definition names and sites", "name": "tableau-servers", "required": false, "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "atscale-deploy", "pluginAlias": "sml-cli", "pluginName": "sml-cli", "pluginType": "core", "strict": true, "summary": "Deploy an SML project to AtScale." }, "install": { "aliases": [], "args": { "filePath": { "default": ".", "description": "Path to the root of the SML project.", "name": "filePath", "required": false } }, "description": "Install SML package dependencies", "examples": [ "<%= config.bin %> <%= command.id %>", "<%= config.bin %> <%= command.id %> ./path-to-sml-project", "<%= config.bin %> <%= command.id %> --concurrency=1", "<%= config.bin %> <%= command.id %> ./path-to-sml-project --concurrency=2" ], "flags": { "concurrency": { "description": "How many concurrent downloads to perform", "name": "concurrency", "default": 2, "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "install", "pluginAlias": "sml-cli", "pluginName": "sml-cli", "pluginType": "core", "strict": true } }, "version": "2025.6.0" }