const completionSpec = { name : "ionic" , description : "The Ionic command-line interface (CLI) is the go-to tool for developing Ionic apps" , subcommands : [ { name : "build" , options : [ { name : "--engine" , description : "Target engine (e.g. browser, cordova)" , args : { name : "engine" , suggestions : [ "browser" , "cordova" ] , } , } , { name : "--platform" , description : "Target platform on chosen engine (e.g. ios, android)" , args : { name : "platform" , suggestions : [ "ios" , "android" ] , } , } , { name : "--prod" , description : "Flag to use the production configuration" , } , { name : [ "--configuration" , "-c" ] , description : "Specify the configuration to use" , args : { name : "conf" , template : [ "filepaths" , "folders" ] , } , } , { name : "--source-map" , description : "Output source maps" , } , { name : "--watch" , description : "Rebuild when files change" , } , ] , description : "Build web assets and prepare your app for any platform targets" , } , { name : "completion" , description : "Enables tab-completion for Ionic CLI commands" , } , { name : "docs" , options : [ { name : [ "--browser" , "-w" ] , description : "Specifies the browser to use (safari, firefox, google chrome)" , args : { name : "browser" , suggestions : [ "safari" , "firefox" , "google chrome" ] , } , } , ] , description : "Open the Ionic documentation website" , } , { name : "info" , options : [ { name : "--json" , description : "Print system/environment info in JSON format" , } , ] , description : "Print project, system, and environment information" , } , { name : "init" , options : [ { name : "--type" , description : "Type of project (e.g. angular, react, vue, custom)" , args : { name : "type" , suggestions : [ "angular" , "react" , "vue" , "custom" ] , } , } , { name : [ "--force" , "-f" ] , description : "Initialize even if a project already exists" , } , { name : "--multi-app" , description : "Initialize a multi-app project" , } , { name : "--project-id" , description : "Specify a slug for your app" , args : { name : "slug" , } , } , { name : "--default" , description : "Mark the initialized app as the default project" , } , ] , args : { name : "name" , description : 'The name of your project (e.g. myApp, "My App")' , isOptional : true , } , description : "Initialize existing projects with Ionic" , } , { name : "link" , args : { name : "id" , description : "The Appflow ID of the app to link (e.g. a1b2c3d4)" , isOptional : true , } , description : "Connect local apps to Ionic" , } , { name : "login" , args : [ { name : "email" , description : "Your email address" , isOptional : true , } , { name : "password" , description : "Your password" , isOptional : true , } , ] , description : "Log in to Ionic" , } , { name : "logout" , description : "Log out of Ionic" , } , { name : "repair" , options : [ { name : "--cordova" , description : "Only perform the repair steps for Cordova platforms and plugins" , } , ] , description : "Remove and recreate dependencies and generated files" , } , { name : "serve" , options : [ { name : "--external" , description : "Host dev server on all network interfaces (i.e. --host=0.0.0.0)" , } , { name : "--host" , description : "Use specific host for the dev server" , args : { name : "host" , } , } , { name : [ "--port" , "-p" ] , description : "Use specific port for the dev server" , args : { name : "port" , default : 8100 , } , } , { name : "--public-host" , description : "The host used for the browser or web view" , args : { name : "host" , default : "localhost" , } , } , { name : "--no-livereload" , description : "Do not spin up dev server--just serve files" , } , { name : "--lab-host" , description : "Use specific host for Ionic Lab server" , args : { name : "host" , default : 8200 , } , } , { name : "--lab-port" , description : "Use specific port for Ionic Lab server" , args : { name : "port" , } , } , { name : "--no-open" , description : "Do not open a browser window" , } , { name : [ "--browser" , "-w" ] , description : "Specifies the browser to use (safari, firefox, google chrome)" , args : { name : "browser" , suggestions : [ "safari" , "firefox" , "google chrome" ] , } , } , { name : [ "--browseroption" , "-o" ] , description : "Specifies a path to open to (/#/tab/dash)" , args : { name : "path" , } , } , { name : [ "--lab" , "-l" ] , description : "Test your apps on multiple platform types in the browser" , } , { name : "--ssl" , description : "Use HTTPS for the dev server" , } , { name : "--prod" , description : "Flag to use the production configuration" , } , { name : "--consolelogs" , description : "Print app console logs to the terminal" , } , { name : "--consolelogs-port" , description : "Use specific port for console logs server" , args : { name : "port" , } , } , { name : [ "--configuration" , "-c" ] , description : "Specify the configuration to use" , args : { name : "conf" , template : [ "filepaths" , "folders" ] , } , } , { name : "--source-map" , description : "Output sourcemaps" , } , ] , description : "Start a local dev server for app dev/testing" , } , { name : "signup" , description : "Create an Ionic account" , } , { name : "start" , options : [ { name : [ "--list" , "-l" ] , description : "List available starter templates" , } , { name : "--type" , description : "Type of project to start (e.g. vue, angular, react, ionic-angular, ionic1)" , args : { name : "type" , suggestions : [ "vue" , "angular" , "react" , "ionic-angular" , "ionic1" ] , } , } , { name : "--cordova" , description : "Include Cordova integration" , } , { name : "--capacitor" , description : "Include Capacitor integration" , } , { name : "--no-deps" , description : "Do not install npm/yarn dependencies" , } , { name : "--no-git" , description : "Do not initialize a git repo" , } , { name : "--link" , description : "Connect your new app to Ionic" , } , { name : "--id" , description : "Specify an Ionic App ID to link" , args : { name : "id" , } , } , { name : "--project-id" , description : "Specify a slug for your app (used for the directory name and package name)" , args : { name : "slug" , } , } , { name : "--package-id" , description : "Specify the bundle ID/application ID for your app (reverse-DNS notation)" , args : { name : "id" , } , } , ] , args : [ { name : "name" , description : 'The name of your new project (e.g. myApp, "My App")' , isOptional : false , } , { name : "template" , description : "The starter template to use (e.g. blank, tabs; use --list to see all)" , isOptional : false , } , ] , description : "Create a new project" , } , { name : "config" , description : "Config commands for Ionic" , subcommands : [ { name : "get" , options : [ { name : [ "--global" , "-g" ] , description : "Use global CLI config" , } , { name : "--json" , description : "Output config values in JSON" , } , { name : "--root" , description : "Operate on root of ionic.config.json" , } , ] , args : { name : "property" , description : "The property name you wish to get" , isOptional : true , } , description : "Print config values" , } , { name : "set" , options : [ { name : [ "--global" , "-g" ] , description : "Use global CLI config" , } , { name : "--json" , description : "Always interpret value as JSON" , } , { name : "--force" , description : "Always overwrite existing values" , } , { name : "--root" , description : "Operate on root of ./ionic.config.json" , } , ] , args : [ { name : "property" , description : "The property name you wish to set" , isOptional : false , } , { name : "value" , description : "The new value of the given property" , isOptional : false , } , ] , description : "Set config values" , } , { name : "unset" , options : [ { name : [ "--global" , "-g" ] , description : "Use global CLI config" , } , { name : "--root" , description : "Operate on root of ./ionic.config.json" , } , ] , args : { name : "property" , description : "The property name you wish to delete" , isOptional : false , } , description : "Delete config values" , } , ] , } , { name : "capacitor" , description : "Capacitor commands Ionic" , subcommands : [ { name : "add" , args : { name : "platform" , description : "The platform to add (e.g. android, ios)" , isOptional : false , suggestions : [ "ios" , "android" ] , } , description : "Add a native platform to your Ionic project" , } , { name : "build" , options : [ { name : "--no-build" , description : "Do not invoke Ionic build" , } , { name : "--no-open" , description : "Do not invoke Capacitor open" , } , { name : "--prod" , description : "Flag to use the production configuration" , } , { name : [ "configuration" , "-c" ] , description : "Specify the configuration to use" , } , { name : "--source-map" , description : "Output source maps" , } , { name : "--watch" , description : "Rebuild when files change" , } , ] , args : { name : "platform" , description : "The platform to build for (e.g. android, ios)" , isOptional : false , suggestions : [ "ios" , "android" ] , } , description : "Build an Ionic project for a given platform" , } , { name : "copy" , options : [ { name : "--no-build" , description : "Do not invoke an Ionic build" , } , { name : "--prod" , description : "Flag to use the production configuration" , } , { name : [ "configuration" , "-c" ] , description : "Specify the configuration to use" , } , { name : "--source-map" , description : "Output source maps" , } , { name : "--watch" , description : "Rebuild when files change" , } , ] , args : { name : "platform" , description : "The platform to copy (e.g. android, ios)" , isOptional : true , } , description : "Copy web assets to native platforms" , } , { name : "open" , args : { name : "platform" , description : "The platform to open (e.g. android, ios)" , isOptional : false , suggestions : [ "ios" , "android" ] , } , description : "Open the IDE for a given native platform project" , } , { name : "run" , options : [ { name : "--list" , description : "List all available targets" , } , { name : "--target" , description : "Deploy to a specific device by its ID (use --list to see all)" , args : { name : "target" , } , } , { name : "--open" , description : "Open native IDE instead of using capacitor run" , } , { name : "--no-build" , description : "Do not invoke Ionic build" , } , { name : "--external" , description : "Host dev server on all network interfaces (i.e. --host=0.0.0.0)" , } , { name : "--host" , description : "Use specific host for the dev server" , args : { name : "host" , default : "localhost" , } , } , { name : [ "--port" , "-p" ] , description : "Use specific port for the dev server" , args : { name : "port" , default : 8100 , } , } , { name : "--public-host" , description : "The host used for the browser or web view" , args : { name : "host" , } , } , { name : [ "--livereload" , "-l" ] , description : "Spin up dev server to live-reload www files" , } , { name : "--livereload-url" , description : "Provide a custom URL to the dev server" , args : { name : "url" , } , } , { name : "--prod" , description : "Flag to use the production configuration" , } , { name : [ "--configuration" , "-c" ] , description : "Specify the configuration to use" , args : { name : "conf" , template : [ "filepaths" , "folders" ] , } , } , { name : "--source-map" , description : "Output source maps" , } , { name : "--watch" , description : "Rebuild when files change" , } , ] , args : { name : "platform" , description : "The platform to run (e.g. android, ios)" , isOptional : false , suggestions : [ "ios" , "android" ] , } , description : "Run an Ionic project on a connected device" , } , { name : "sync" , options : [ { name : "--no-build" , description : "Do not invoke an Ionic build" , } , { name : "--prod" , description : "Flag to use the production configuration" , } , { name : [ "--configuration" , "-c" ] , description : "Specify the configuration to use" , args : { name : "conf" , template : [ "filepaths" , "folders" ] , } , } , { name : "--source-map" , description : "Output source maps" , } , { name : "--watch" , description : "Rebuild when files change" , } , ] , args : { name : "platform" , description : "The platform to sync (e.g. android, ios)" , isOptional : true , suggestions : [ "ios" , "android" ] , } , description : "Sync (copy + update) an Ionic project" , } , { name : "update" , args : { name : "platform" , description : "The platform to update (e.g. android, ios)" , isOptional : true , suggestions : [ "ios" , "android" ] , } , description : "Update Capacitor native platforms, install Capacitor/Cordova plugins" , } , ] , } , { name : "deploy" , description : "AppFlow deploy commands for Ionic" , subcommands : [ { name : "add" , options : [ { name : "--app-id" , description : "Your Appflow app ID" , args : { name : "id" , } , } , { name : "--channel-name" , description : "The channel to check for updates from" , args : { name : "name" , } , } , { name : "--update-method" , description : "The update method that dictates the behavior of the plugin" , args : { name : "name" , } , } , { name : "--max-store" , description : "The maximum number of downloaded versions to store on the device" , args : { name : "quantity" , default : 2 , } , } , { name : "--min-background-duration" , description : "The minimum duration after which the app checks for an update in the background" , args : { name : "seconds" , default : 30 , } , } , ] , description : "Adds Appflow Deploy to the project" , } , { name : "build" , options : [ { name : "--environment" , description : "The group of environment variables exposed to your build" , args : { name : "name" , } , } , { name : "--channel" , description : "The channel you want to auto deploy the build to. This can be repeated multiple times if multiple channels need to be specified" , args : { name : "name" , } , } , { name : "--commit" , description : "Commit (defaults to HEAD)" , args : { name : "sha1" , } , } , { name : "--skip-download" , description : "Skip downloading build artifacts after command succeeds" , } , ] , description : "Create a deploy build on Appflow" , } , { name : "configure" , options : [ { name : "--app-id" , description : "Your Appflow app ID" , args : { name : "id" , } , } , { name : "--channel-name" , description : "The channel to check for updates from" , args : { name : "name" , } , } , { name : "--update-method" , description : "The update method that dictates the behavior of the plugin" , args : { name : "name" , } , } , { name : "--max-store" , description : "The maximum number of downloaded versions to store on the device" , args : { name : "quantity" , } , } , { name : "--min-background-duration" , description : "The minimum duration after which the app checks for an update in the background" , args : { name : "seconds" , } , } , ] , args : { name : "platform" , description : "The native platform (e.g. ios, android)" , isOptional : true , } , description : "Overrides Appflow Deploy configuration" , } , { name : "manifest" , description : "Generates a manifest file for the deploy service from a built app directory" , } , ] , } , { name : "git" , description : "Git commands for Ionic" , subcommands : [ { name : "remote" , description : "Adds/updates the Appflow git remote to your local Ionic app" , } , ] , } , { name : "package" , description : "Package commands for Ionic" , subcommands : [ { name : "build" , options : [ { name : "--signing-certificate" , description : "Signing certificate" , args : { name : "name" , } , } , { name : "--environment" , description : "The group of environment variables exposed to your build" , args : { name : "name" , } , } , { name : "--native-config" , description : "The group of native config variables exposed to your build" , args : { name : "name" , } , } , { name : "--destination" , description : "The configuration to deploy the build artifact to the app store" , args : { name : "name" , } , } , { name : "--commit" , description : "Commit (defaults to HEAD)" , args : { name : "sha1" , } , } , { name : "--build-stack" , description : 'Target platform ("Android", "iOS - Xcode 11 (Preferred)", "iOS - Xcode 10")' , args : { name : "name" , suggestions : [ "Android" , "iOS - Xcode 11 (Preferred)" , "iOS - Xcode 10" , ] , } , } , { name : "--build-file-name" , description : "The name for the downloaded build file" , args : { name : "name" , } , } , { name : "--ipa-name" , description : "The name for the downloaded ipa file" , args : { name : "name" , } , } , { name : "--dsym-name" , description : "The name for the downloaded dsym file" , args : { name : "name" , } , } , { name : "--apk-name" , description : "The name for the downloaded apk file" , args : { name : "name" , } , } , { name : "--aab-name" , description : "The name for the downloaded aab file" , args : { name : "name" , } , } , { name : "--artifact-type" , description : "The artifact type (aab, apk, ipa, dsym)" , args : { name : "name" , suggestions : [ "aab" , "apl" , "ipa" , "dysm" ] , } , } , { name : "--skip-download" , description : "Skip downloading build artifacts after command succeeds" , } , ] , args : [ { name : "platform" , description : "The platform to package (android, ios)" , isOptional : false , suggestions : [ "ios" , "android" ] , } , { name : "type" , description : "The build type (debug, release, development, ad-hoc, app-store, enterprise)" , isOptional : false , suggestions : [ "debug" , "release" , "development" , "ad-hoc" , "app-stpre" , "enterprise" , ] , } , ] , description : "Create a package build on Appflow" , } , { name : "deploy" , args : [ { name : "build-id" , description : "The build id of the desired successful package build" , isOptional : false , } , { name : "destination" , description : "The destination to deploy the build artifact to the app store" , isOptional : false , } , ] , description : "Deploys a binary to a destination, such as an app store using Appflow" , } , ] , } , { name : "ssl" , description : "SSL commands for Ionic" , subcommands : [ { name : "generate" , options : [ { name : "--key-path" , description : "Destination of private key file" , args : { name : "path" , default : "./.ionic/ssl/key.pem" , } , } , { name : "--cert-path" , description : "Destination of certificate file" , args : { name : "path" , default : "./.ionic/ssl/cert.pem" , } , } , { name : "--country-name" , description : "The country name (C) of the SSL certificate" , args : { name : "C" , default : "US" , } , } , { name : "--state-or-province-name" , description : "The state or province name (ST) of the SSL certificate" , args : { name : "ST" , default : "Wisconsin" , } , } , { name : "--locality-name" , description : "The locality name (L) of the SSL certificate" , args : { name : "L" , default : "Madison" , } , } , { name : "--organization-name" , description : "The organization name (O) of the SSL certificate" , args : { name : "O" , default : "Ionic" , } , } , { name : "--common-name" , description : "The common name (CN) of the SSL certificate" , args : { name : "CN" , default : "localhost" , } , } , { name : [ "--bits" , "-b" ] , description : "Number of bits in the key" , args : { name : "bits" , default : 2048 , } , } , ] , description : "Generates an SSL key & certificate" , } , ] , } , { name : "ssh" , description : "SSH commands for Ionic" , subcommands : [ { name : "add" , options : [ { name : "--use" , description : "Use the newly added key as your default SSH key for Ionic" , } , ] , args : { name : "pubkey-path" , description : "Location of public key file to add to Ionic" , isOptional : false , } , description : "Add an SSH public key to Ionic" , } , { name : "delete" , args : { name : "key-id" , description : "The ID of the public key to delete" , isOptional : false , } , description : "Delete an SSH public key from Ionic" , } , { name : "generate" , options : [ { name : [ "--type" , "-t" ] , description : "The type of key to generate: ecdsa, ed25519, rsa" , args : { name : "type" , suggestions : [ "ecdsa" , "ed25519" , "rsa" ] , default : "rsa" , } , } , { name : [ "--bits" , "-b" ] , description : "Number of bits in the key" , args : { name : "bits" , default : 2048 , } , } , { name : [ "--annotation" , "-C" ] , description : "Annotation (comment) in public key. Your Ionic email address will be used" , args : { name : "annotation" , } , } , ] , args : { name : "key-path" , description : "Destination of private key file" , isOptional : true , } , description : "Generates a private and public SSH key pair" , } , { name : "list" , options : [ { name : "--json" , description : "Output SSH keys in JSON" , } , ] , description : "List your SSH public keys on Ionic" , } , { name : "setup" , description : "Setup your Ionic SSH keys automatically" , } , { name : "use" , args : { name : "key-path" , description : "Location of private key file to use" , isOptional : false , } , description : "Set your active Ionic SSH key" , } , ] , } , { name : "doctor" , description : "Doctor commands for Ionic" , subcommands : [ { name : "check" , args : { name : "id" , description : "The issue identifier" , isOptional : true , } , description : "Check the health of your Ionic project" , } , { name : "list" , description : "List all issues and their identifiers" , } , { name : "treat" , args : { name : "id" , description : "The issue identifier" , isOptional : true , } , description : "Attempt to fix issues in your Ionic project" , } , ] , } , { name : "integrations" , description : "Integration commands for Ionic" , subcommands : [ { name : "disable" , args : { name : "name" , description : "The integration to disable (e.g. capacitor, cordova, enterprise)" , isOptional : false , suggestions : [ "capacitor" , "cordova" , "enterprise" ] , } , description : "Disable an integration" , } , { name : "enable" , options : [ { name : "--add" , description : "Download and add the integration even if enabled" , } , { name : "--root" , description : "Specify an alternative destination to download into when adding" , args : { name : "path" , } , } , { name : "--quiet" , description : "Less verbose output, ignore integration errors" , } , ] , args : { name : "name" , description : "The integration to enable (e.g. capacitor, cordova, enterprise)" , isOptional : false , suggestions : [ "capacitor" , "cordova" , "enterprise" ] , } , description : "Add & enable integrations to your app" , } , { name : "list" , description : "List available and active integrations in your app" , } , ] , } , { name : "enterprise" , description : "Enterprise commands for Ionic" , subcommands : [ { name : "register" , options : [ { name : "--app-id" , description : "The Ionic App ID" , args : { name : "id" , } , } , { name : "--key" , description : "The Product Key" , args : { name : "key" , } , } , ] , description : "Register your Product Key with this app" , } , ] , } , { name : "cordova" , description : "Cordova commands for Ionic" , subcommands : [ { name : "build" , options : [ { name : "--no-build" , description : "Do not invoke an Ionic build" , } , { name : "--debug" , description : "Mark as a debug build" , } , { name : "--release" , description : "Mark as a release build" , } , { name : "--device" , description : "Deploy build to a device" , } , { name : "--emulator" , description : "Deploy build to an emulator" , } , { name : "--buildConfig" , description : "Use the specified build configuration" , args : { name : "file" , template : [ "filepaths" , "folders" ] , } , } , { name : "--prod" , description : "Flag to use the production configuration" , } , { name : [ "--configuration" , "-c" ] , description : "Specify the configuration to use" , args : { name : "conf" , template : [ "filepaths" , "folders" ] , } , } , { name : "--source-map" , description : "Output source maps" , } , ] , args : { name : "platform" , description : "The platform to build (e.g. android, ios)" , isOptional : false , suggestions : [ "ios" , "android" ] , } , description : "Use Cordova to build for Android and iOS platform targets" , } , { name : "compile" , options : [ { name : "--debug" , description : "Mark as a debug build" , } , { name : "--release" , description : "Mark as a release build" , } , { name : "--device" , description : "Deploy build to a device" , } , { name : "--emulator" , description : "Deploy build to an emulator" , } , { name : "--buildConfig" , description : "Use the specified build configuration" , args : { name : "file" , template : [ "filepaths" , "folders" ] , } , } , ] , args : { name : "platform" , description : "The platform to compile (android, ios)" , isOptional : false , suggestions : [ "ios" , "android" ] , } , description : "Compile native platform code" , } , { name : "emulate" , options : [ { name : "--list" , description : "List all available targets" , } , { name : "--no-build" , description : "Do not invoke Ionic build" , } , { name : "--external" , description : "Host dev server on all network interfaces (i.e. --host=0.0.0.0)" , } , { name : "--host" , description : "Use specific host for the dev server" , args : { name : "host" , default : "localhost" , } , } , { name : [ "--port" , "-p" ] , description : "Use specific port for the dev server" , args : { name : "port" , default : 8100 , } , } , { name : "--public-host" , description : "The host used for the browser or web view" , args : { name : "host" , } , } , { name : [ "--livereload" , "-l" ] , description : "Spin up dev server to live-reload www files" , } , { name : "--livereload-url" , description : "Provide a custom URL to the dev server" , args : { name : "url" , } , } , { name : "--debug" , description : "Mark as a debug build" , } , { name : "--release" , description : "Mark as a release build" , } , { name : "--device" , description : "Deploy build to a device" , } , { name : "--emulator" , description : "Deploy build to an emulator" , } , { name : "--buildConfig" , description : "Use the specified build configuration" , args : { name : "file" , template : [ "filepaths" , "folders" ] , } , } , { name : "--target" , description : "Deploy build to a device (use --list to see all)" , args : { name : "target" , } , } , { name : "--no-native-run" , description : "Do not use native-run to run the app; use Cordova instead" , } , { name : "--connect" , description : "Tie the running app to the process" , } , { name : "--json" , description : "Output targets in JSON" , } , { name : "--ssl" , description : "Use HTTPS for the dev serve" , } , { name : "--prod" , description : "Flag to use the production configuration" , } , { name : "--consolelogs" , description : "Print app console logs to the terminal" , } , { name : "--consolelogs-port" , description : "Use specific port for console logs server" , args : { name : "port" , } , } , { name : [ "--configuration" , "-c" ] , description : "Specify the configuration to use" , args : { name : "conf" , template : [ "filepaths" , "folders" ] , } , } , { name : "--source-map" , description : "Output source maps" , } , { name : "--buildconfig" , description : "Use the specified build configuration" , args : { name : "file" , template : [ "filepaths" , "folders" ] , } , } , ] , args : { name : "platform" , description : "The platform to run (e.g. android, ios)" , isOptional : false , suggestions : [ "ios" , "android" ] , } , description : "Emulate an Ionic project on a simulator/emulator" , } , { name : "platform" , options : [ { name : "--no-resources" , description : "Do not pregenerate icons and splash screen resources (corresponds to add)" , } , ] , args : [ { name : "action" , description : "Add, remove, or update a platform; ls, check, or save all project platforms" , isOptional : true , suggestions : [ "add" , "remove" , "update" , "ls" , "check" , "save" ] , } , { name : "platform" , description : "The platform that you would like to add (android, ios)" , isOptional : true , suggestions : [ "ios" , "android" ] , } , ] , description : "Manage Cordova platform targets" , } , { name : "plugin" , options : [ { name : "--force" , description : "Force overwrite the plugin if it exists (corresponds to add)" , } , { name : "--variable" , description : "Specify plugin variables" , args : { name : "KEY=VALUE" , } , } , ] , args : [ { name : "action" , description : "Add or remove a plugin; ls or save all project plugins" , isOptional : true , suggestions : [ "add" , "remove" , "ls" , "save" ] , } , { name : "plugin" , description : "The name of the plugin (corresponds to add and remove)" , isOptional : true , } , ] , description : "Manage Cordova plugins" , } , { name : "prepare" , options : [ { name : "--no-build" , description : "Do not invoke an Ionic build" , } , { name : "--prod" , description : "Flag to use the production configuration" , } , { name : [ "--configuration" , "-c" ] , description : "Specify the configuration to use" , args : { name : "conf" , template : [ "filepaths" , "folders" ] , } , } , { name : "--source-map" , description : "Output source maps" , } , { name : "--watch" , description : "Rebuild when files change" , } , ] , args : { name : "platform" , description : "The platform you would like to prepare (e.g. android, ios)" , isOptional : true , suggestions : [ "ios" , "android" ] , } , description : "Copies assets to Cordova platforms, preparing them for native builds" , } , { name : "requirements" , args : { name : "platform" , description : "The platform for which you would like to gather requirements (android, ios)" , isOptional : true , suggestions : [ "ios" , "android" ] , } , description : "Checks and print out all the requirements for platforms" , } , { name : "resources" , options : [ { name : [ "--icon" , "-i" ] , description : "Generate icon resources" , } , { name : [ "--splash" , "-s" ] , description : "Generate splash screen resources" , } , ] , args : { name : "platform" , description : "The platform for which you would like to generate resources (ios, android)" , isOptional : true , suggestions : [ "ios" , "android" ] , } , description : "Automatically create icon and splash screen resources" , } , { name : "run" , options : [ { name : "--list" , description : "List all available targets" , } , { name : "--no-build" , description : "Do not invoke Ionic build" , } , { name : "--external" , description : "Host dev server on all network interfaces (i.e. --host=0.0.0.0)" , } , { name : "--host" , description : "Use specific host for the dev server" , args : { name : "host" , default : "localhost" , } , } , { name : [ "--port" , "-p" ] , description : "Use specific port for the dev server" , args : { name : "port" , default : 8100 , } , } , { name : "--public-host" , description : "The host used for the browser or web view" , args : { name : "host" , } , } , { name : [ "--livereload" , "-l" ] , description : "Spin up dev server to live-reload www files" , } , { name : "--livereload-url" , description : "Provide a custom URL to the dev server" , args : { name : "url" , } , } , { name : "--debug" , description : "Mark as a debug build" , } , { name : "--release" , description : "Mark as a release build" , } , { name : "--device" , description : "Deploy build to a device" , } , { name : "--emulator" , description : "Deploy build to an emulator" , } , { name : "--buildConfig" , description : "Use the specified build configuration" , args : { name : "file" , template : [ "filepaths" , "folders" ] , } , } , { name : "--target" , description : "Deploy build to a device (use --list to see all)" , args : { name : "target" , } , } , { name : "--no-native-run" , description : "Do not use native-run to run the app; use Cordova instead" , } , { name : "--connect" , description : "Tie the running app to the process" , } , { name : "--json" , description : "Output targets in JSON" , } , { name : "--ssl" , description : "Use HTTPS for the dev server" , } , { name : "--prod" , description : "Flag to use the production configuration" , } , { name : "--consolelogs" , description : "Print app console logs to the terminal" , } , { name : "--consolelogs-port" , description : "Use specific port for console logs server" , args : { name : "port" , } , } , { name : [ "--configuration" , "-c" ] , description : "Specify the configuration to use" , args : { name : "conf" , template : [ "filepaths" , "folders" ] , } , } , ] , args : { name : "platform" , description : "The platform to run (e.g. android, ios)" , isOptional : false , suggestions : [ "ios" , "android" ] , } , description : "Run an Ionic project on a connected device" , } , ] , } , ] , } ; export default completionSpec ;