UNPKG

@interopio/cli

Version:

Interop.io CLI - a command line for creating Interop.io applications

137 lines 4.02 kB
{ "commands": { "configure": { "aliases": [], "args": {}, "description": "Configure your io.Connect CLI with correct credentials.", "examples": [ { "command": "<%= config.bin %> <%= command.id %>", "description": "Starts an interactive flow to configure your io.Connect CLI." }, { "command": "<%= config.bin %> <%= command.id %> --token <license-token>", "description": "Configures your io.Connect CLI with the provided license token." }, { "command": "<%= config.bin %> <%= command.id %> --mode <auto-or-remote-or-offline>", "description": "Configures your io.Connect CLI mode to use when fetching app templates." }, { "command": "<%= config.bin %> <%= command.id %> --help", "description": "Shows help for the configure command." } ], "flags": { "mode": { "char": "m", "description": "The mode to use for fetching the templates - either from a remote git repository or from an embedded collection.", "name": "mode", "required": false, "hasDynamicHelp": false, "multiple": false, "options": [ "auto", "remote", "offline" ], "type": "option" }, "token": { "char": "t", "description": "Your io.Connect Browser license key.", "name": "token", "required": false, "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "configure", "pluginAlias": "@interopio/cli", "pluginName": "@interopio/cli", "pluginType": "core", "strict": true, "usage": "configure", "enableJsonFlag": false, "isESM": true, "relativePath": [ "dist", "commands", "configure", "index.js" ] }, "new": { "aliases": [], "args": { "newApp": { "description": "The type of new app to create: browser-platform | browser-client", "name": "newApp", "required": true } }, "description": "Bootstraps a new io.Connect app.", "examples": [ "<%= config.bin %> <%= command.id %> browser-platform", "<%= config.bin %> <%= command.id %> browser-platform@3.1", "<%= config.bin %> <%= command.id %> browser-client", "<%= config.bin %> <%= command.id %> browser-client@3.2" ], "flags": { "name": { "char": "n", "description": "The name of your IO.Connect Browser app.", "name": "name", "required": false, "hasDynamicHelp": false, "multiple": false, "type": "option" }, "template": { "char": "t", "description": "The IO.Connect Browser app template.", "name": "template", "required": false, "hasDynamicHelp": false, "multiple": false, "options": [ "dev-react-seed", "home-react-wsp", "vanilla-js", "wsp-frame", "react", "vanilla-js" ], "type": "option" }, "yes": { "char": "y", "description": "Skip prompts and use default values for all options", "name": "yes", "allowNo": false, "type": "boolean" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "new", "pluginAlias": "@interopio/cli", "pluginName": "@interopio/cli", "pluginType": "core", "strict": true, "usage": "new <NEWAPP>", "enableJsonFlag": false, "isESM": true, "relativePath": [ "dist", "commands", "new", "index.js" ] } }, "version": "4.1.0" }