{"id":13582977,"url":"https://github.com/SmartBear/swaggerhub-cli","last_synced_at":"2025-04-06T18:31:44.376Z","repository":{"id":36958686,"uuid":"261799480","full_name":"SmartBear/swaggerhub-cli","owner":"SmartBear","description":"SwaggerHub CLI","archived":false,"fork":false,"pushed_at":"2025-04-02T08:40:02.000Z","size":2021,"stargazers_count":53,"open_issues_count":10,"forks_count":14,"subscribers_count":34,"default_branch":"main","last_synced_at":"2025-04-04T11:08:31.487Z","etag":null,"topics":["cli","command-line-tools","oas","on-prem","openapi","openapi3","saas","swaggerhub"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SmartBear.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-06T15:21:34.000Z","updated_at":"2025-03-15T00:12:41.000Z","dependencies_parsed_at":"2023-12-21T13:29:38.872Z","dependency_job_id":"4bdabd28-640b-41af-875d-b346d49b61cd","html_url":"https://github.com/SmartBear/swaggerhub-cli","commit_stats":{"total_commits":353,"total_committers":26,"mean_commits":"13.576923076923077","dds":0.8101983002832861,"last_synced_commit":"2dfa93c90f8ca2c5bf0d9372c621efa0ca326cae"},"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmartBear%2Fswaggerhub-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmartBear%2Fswaggerhub-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmartBear%2Fswaggerhub-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SmartBear%2Fswaggerhub-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SmartBear","download_url":"https://codeload.github.com/SmartBear/swaggerhub-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247530956,"owners_count":20953879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","command-line-tools","oas","on-prem","openapi","openapi3","saas","swaggerhub"],"created_at":"2024-08-01T15:03:10.141Z","updated_at":"2025-04-06T18:31:44.369Z","avatar_url":"https://github.com/SmartBear.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"SwaggerHub CLI\n==============\n\n[![NPM](https://img.shields.io/npm/v/swaggerhub-cli.svg)](https://www.npmjs.com/package/swaggerhub-cli)\n\nThe SwaggerHub CLI enables teams to build automation and workflows around SwaggerHub. Teams can use it in places like their CI/CD pipeline to create new APIs, create and update API versions, and mark API versions as published and default among other features. Every team has their own workflow, and the SwaggerHub CLI can help teams build the workflow that fits their needs.\n\n\u003c!-- toc --\u003e\n* [Requirements](#requirements)\n* [Installation](#installation)\n* [Setup](#setup)\n* [Additional configuration for SwaggerHub On-Premise](#additional-configuration-for-swaggerhub-on-premise)\n* [Usage](#usage)\n* [Commands](#commands)\n* [Plugins](#plugins)\n* [Contributing](#contributing)\n\u003c!-- tocstop --\u003e\n# Requirements\nNode.js 18.x or later.\n\n# Installation\n```sh-session\n$ npm i -g swaggerhub-cli\n```\n# Setup\nThe SwaggerHub CLI can be configured through environment variables or through the [`swaggerhub configure`](#swaggerhub-configure) command. The CLI will look for the following environment variables.\n\n* `SWAGGERHUB_API_KEY` (required) – **Important: keep this key secure.** This is the SwaggerHub API key the CLI will use for authentication. You can find your API key on the [user settings page](https://app.swaggerhub.com/settings/apiKey) in SwaggerHub.\n* `SWAGGERHUB_URL` (optional, default is `https://api.swaggerhub.com`) – Customers with on-premise installations need to point this to their on-premise API, which is `http(s)://{swaggerhub-host}/v1` (do not append a backslash).\n\nAlernatively, you can use the `swaggerhub configure` command to create a configuration file for the CLI to use. This command will walk you through the steps to set up the necessary configurations.\n\n```sh-session\n$ swaggerhub configure\n? SwaggerHub URL: https://api.swaggerhub.com\n? API Key: \u003cyour-api-key\u003e\n```\n\nEnvironment variables take precedence over the configuration file created by this command.\n\n# Additional configuration for SwaggerHub On-Premise\n\nIf your SwaggerHub On-Premise instance uses a **self-signed or privately signed SSL certificate**, there are additional steps required to make the SwaggerHub CLI trust this certificate.\n\nBy default, Node.js rejects self-signed or privately signed SSL certificates because their root CA is not known. You will see an error like this in the CLI output:\n\n```\nFetchError: request to https://... failed, reason: self signed certificate\n```\n\nThe solution is to use the [`NODE_EXTRA_CA_CERTS`](https://nodejs.org/api/cli.html#cli_node_extra_ca_certs_file) environment variable to specify custom trusted certificates for Node.js.\n\nStart by creating a .pem file containing your custom trusted certificates in the PEM format.\n* If the certificate is _self-signed_ (so that it is its own CA), include the certificate itself.\n* If the certificate is _signed by a private CA_, include the CA root and any intermediate certificates, in any order. Blank lines are allowed, but optional, between individual certificates.\n\n```\n-----BEGIN CERTIFICATE-----\nCA root certificate\n-----END CERTIFICATE-----\n\n-----BEGIN CERTIFICATE-----\nIntermediate certificate 1\n-----END CERTIFICATE-----\n\n-----BEGIN CERTIFICATE-----\nIntermediate certificate 2\n-----END CERTIFICATE-----\n```\n\nSpecify the path to this PEM file in the `NODE_EXTRA_CA_CERTS` environment variable.\n\nmacOS/*nix/bash examples:\n```sh-session\nexport NODE_EXTRA_CA_CERTS=~/Work/extra-ca-certs.pem   # '~' means the home folder of the logged-in user\n\nexport NODE_EXTRA_CA_CERTS=$HOME/.ssh/extra-ca-certs.pem\n\nexport NODE_EXTRA_CA_CERTS=/Users/username/Work/extra-ca-certs.pem\n```\n\nWindows examples:\n```\n:: Both forward and backslashes are OK\nset NODE_EXTRA_CA_CERTS=C:\\Work\\extra-ca-certs.pem\nset NODE_EXTRA_CA_CERTS=C:/Work/extra-ca-certs.pem\n\n:: You can also define the path itself using environment variables\nset NODE_EXTRA_CA_CERTS=%USERPROFILE%\\extra-ca-certs.pem\n```\n\n# Usage\n```sh-session\n$ swaggerhub COMMAND\nrunning command...\n$ swaggerhub (-v|--version|version)\nswaggerhub/0.1.2 darwin-x64 node-v12.13.0\n$ swaggerhub --help [COMMAND]\nUSAGE\n  $ swaggerhub COMMAND\n...\n```\n# Commands\n\u003c!-- commands --\u003e\n* [`swaggerhub api:create OWNER/API_NAME/[VERSION]`](#swaggerhub-apicreate)\n* [`swaggerhub api:delete OWNER/API_NAME/[VERSION]`](#swaggerhub-apidelete)\n* [`swaggerhub api:get OWNER/API_NAME/[VERSION]`](#swaggerhub-apiget)\n* [`swaggerhub api:publish OWNER/API_NAME/VERSION`](#swaggerhub-apipublish)\n* [`swaggerhub api:setdefault OWNER/API_NAME/VERSION`](#swaggerhub-apisetdefault)\n* [`swaggerhub api:unpublish OWNER/API_NAME/VERSION`](#swaggerhub-apiunpublish)\n* [`swaggerhub api:update OWNER/API_NAME/[VERSION]`](#swaggerhub-apiupdate)\n* [`swaggerhub api:validate OWNER/API_NAME/[VERSION]`](#swaggerhub-apivalidate)\n* [`swaggerhub api:validate:download-rules OWNER`](#swaggerhub-apivalidatedownload)\n* [`swaggerhub api:validate:local`](#swaggerhub-apivalidatelocal)\n* [`swaggerhub configure`](#swaggerhub-configure)\n* [`swaggerhub domain:create OWNER/DOMAIN_NAME/[VERSION]`](#swaggerhub-domaincreate)\n* [`swaggerhub domain:delete OWNER/DOMAIN_NAME/[VERSION]`](#swaggerhub-domaindelete)\n* [`swaggerhub domain:get OWNER/DOMAIN_NAME/[VERSION]`](#swaggerhub-domainget)\n* [`swaggerhub domain:publish OWNER/DOMAIN_NAME/VERSION`](#swaggerhub-domainpublish)\n* [`swaggerhub domain:setdefault OWNER/DOMAIN_NAME/VERSION`](#swaggerhub-domainsetdefault)\n* [`swaggerhub domain:unpublish OWNER/DOMAIN_NAME/VERSION`](#swaggerhub-domainunpublish)\n* [`swaggerhub domain:update OWNER/DOMAIN_NAME/[VERSION]`](#swaggerhub-domainupdate)\n* [`swaggerhub help [COMMAND]`](#swaggerhub-help)\n* [`swaggerhub integration:create OWNER/API_NAME/[VERSION]`](#swaggerhub-integrationcreate)\n* [`swaggerhub integration:delete OWNER/API_NAME/VERSION/INTEGRATION_ID`](#swaggerhub-integrationdelete)\n* [`swaggerhub integration:execute OWNER/API_NAME/VERSION/INTEGRATION_ID`](#swaggerhub-integrationexecute)\n* [`swaggerhub integration:get OWNER/API_NAME/VERSION/INTEGRATION_ID`](#swaggerhub-integrationget)\n* [`swaggerhub integration:list OWNER/API_NAME/[VERSION]`](#swaggerhub-integrationlist)\n* [`swaggerhub integration:update OWNER/API_NAME/VERSION/INTEGRATION_ID`](#swaggerhub-integrationupdate)\n* [`swaggerhub plugins`](#swaggerhub-plugins)\n* [`swaggerhub plugins:add PLUGIN`](#swaggerhub-pluginsadd)\n* [`swaggerhub plugins:inspect PLUGIN...`](#swaggerhub-pluginsinspect)\n* [`swaggerhub plugins:install PLUGIN`](#swaggerhub-pluginsinstall)\n* [`swaggerhub plugins:link PATH`](#swaggerhub-pluginslink)\n* [`swaggerhub plugins:remove [PLUGIN]`](#swaggerhub-pluginsremove)\n* [`swaggerhub plugins:reset`](#swaggerhub-pluginsreset)\n* [`swaggerhub plugins:uninstall [PLUGIN]`](#swaggerhub-pluginsuninstall)\n* [`swaggerhub plugins:unlink [PLUGIN]`](#swaggerhub-pluginsunlink)\n* [`swaggerhub plugins:update`](#swaggerhub-pluginsupdate)\n* [`swaggerhub project:api:add OWNER/PROJECT_NAME API`](#swaggerhub-projectapiadd)\n* [`swaggerhub project:api:remove OWNER/PROJECT_NAME API`](#swaggerhub-projectapiremove)\n* [`swaggerhub project:create OWNER/PROJECT_NAME`](#swaggerhub-projectcreate)\n* [`swaggerhub project:delete OWNER/PROJECT_NAME`](#swaggerhub-projectdelete)\n* [`swaggerhub project:domain:add OWNER/PROJECT_NAME DOMAIN`](#swaggerhub-projectdomainadd)\n* [`swaggerhub project:domain:remove OWNER/PROJECT_NAME DOMAIN`](#swaggerhub-projectdomainremove)\n* [`swaggerhub project:get OWNER/PROJECT_NAME`](#swaggerhub-projectget)\n* [`swaggerhub project:list [OWNER]`](#swaggerhub-projectlist)\n* [`swaggerhub project:member:list OWNER/PROJECT_NAME`](#swaggerhub-projectmemberlist)\n\n## `swaggerhub api:create`\n\ncreates a new API / API version from a YAML/JSON file\n\n```\nUSAGE\n  $ swaggerhub api:create OWNER/API_NAME/[VERSION] [--visibility public|private] (--published publish|unpublish\n    -f \u003cvalue\u003e) [--setdefault ] [-h]\n\nARGUMENTS\n  OWNER/API_NAME/[VERSION]  API to create on SwaggerHub\n\nFLAGS\n  -f, --file=\u003cvalue\u003e         (required) file location of API to create\n  -h, --help                 Show CLI help.\n      --published=\u003coption\u003e   [default: unpublish] sets the lifecycle setting of the API version\n                             \u003coptions: publish|unpublish\u003e\n      --setdefault           sets API version to be the default\n      --visibility=\u003coption\u003e  [default: private] visibility of API in SwaggerHub\n                             \u003coptions: public|private\u003e\n\nDESCRIPTION\n  creates a new API / API version from a YAML/JSON file\n  The API version from the file will be used unless the version is specified in the command argument.\n  An error will occur if the API version already exists.\n\n\nEXAMPLES\n  $ swaggerhub api:create organization/api/1.0.0 --file api.yaml --visibility public\n\n  $ swaggerhub api:create organization/api --file api.yaml\n\n  $ swaggerhub api:create organization/api/1.0.0 --published=publish --file api.json\n\n  $ swaggerhub api:create organization/api/1.0.0 --setdefault --file api.json\n\n  $ swaggerhub api:create organization/api/1.0.0 --published=publish --setdefault --file api.json\n```\n\n_See code: [src/commands/api/create.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/api/create.js)_\n\n## `swaggerhub api:delete`\n\ndelete an API or API version\n\n```\nUSAGE\n  $ swaggerhub api:delete OWNER/API_NAME/[VERSION] [-f] [-h]\n\nARGUMENTS\n  OWNER/API_NAME/[VERSION]  API to delete on SwaggerHub\n\nFLAGS\n  -f, --force  delete API without prompting for confirmation\n  -h, --help   Show CLI help.\n\nDESCRIPTION\n  delete an API or API version\n\n\nEXAMPLES\n  $ swaggerhub api:delete organization/api/1.0.0\n\n  $ swaggerhub api:delete organization/api\n\n  $ swaggerhub api:delete organization/api --force\n```\n\n_See code: [src/commands/api/delete.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/api/delete.js)_\n\n## `swaggerhub api:get`\n\nfetches an API definition\n\n```\nUSAGE\n  $ swaggerhub api:get OWNER/API_NAME/[VERSION] [-j] [-r] [-h]\n\nARGUMENTS\n  OWNER/API_NAME/[VERSION]  API to fetch from Swaggerhub\n\nFLAGS\n  -h, --help      Show CLI help.\n  -j, --json      returns the API in JSON format.\n  -r, --resolved  gets the resolved API definition (supported in v1.25+).\n\nDESCRIPTION\n  fetches an API definition\n  When VERSION is not included in the argument, the default version will be returned.\n  Returns the API in YAML format by default.\n\n\nEXAMPLES\n  $ swaggerhub api:get organization/api\n\n  $ swaggerhub api:get organization/api/1.0.0 --json\n```\n\n_See code: [src/commands/api/get.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/api/get.js)_\n\n## `swaggerhub api:publish`\n\npublish an API version\n\n```\nUSAGE\n  $ swaggerhub api:publish OWNER/API_NAME/VERSION [-f] [-h]\n\nARGUMENTS\n  OWNER/API_NAME/VERSION  API to publish on Swaggerhub\n\nFLAGS\n  -f, --force  publish API without prompting for confirmation\n  -h, --help   Show CLI help.\n\nDESCRIPTION\n  publish an API version\n\nEXAMPLES\n  $ swaggerhub api:publish organization/api/1.0.0\n\n  $ swaggerhub api:publish organization/api/1.0.0 --force\n```\n\n_See code: [src/commands/api/publish.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/api/publish.js)_\n\n## `swaggerhub api:setdefault`\n\nset the default version of an API\n\n```\nUSAGE\n  $ swaggerhub api:setdefault OWNER/API_NAME/VERSION [-h]\n\nARGUMENTS\n  OWNER/API_NAME/VERSION  API to set as default on Swaggerhub\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  set the default version of an API\n\nEXAMPLES\n  $ swaggerhub api:setdefault organization/api/2.0.0\n```\n\n_See code: [src/commands/api/setdefault.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/api/setdefault.js)_\n\n## `swaggerhub api:unpublish`\n\nunpublish an API version\n\n```\nUSAGE\n  $ swaggerhub api:unpublish OWNER/API_NAME/VERSION [-h]\n\nARGUMENTS\n  OWNER/API_NAME/VERSION  API identifier\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  unpublish an API version\n\nEXAMPLES\n  $ swaggerhub api:unpublish organization/api/1.0.0\n```\n\n_See code: [src/commands/api/unpublish.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/api/unpublish.js)_\n\n## `swaggerhub api:update`\n\nupdate an API\n\n```\nUSAGE\n  $ swaggerhub api:update OWNER/API_NAME/[VERSION] [-f \u003cvalue\u003e] [--visibility public|private] [--published\n    publish|unpublish] [--setdefault] [-h]\n\nARGUMENTS\n  OWNER/API_NAME/[VERSION]  API to update on SwaggerHub\n\nFLAGS\n  -f, --file=\u003cvalue\u003e         file location of API to update\n  -h, --help                 Show CLI help.\n      --published=\u003coption\u003e   sets the lifecycle setting of the API version\n                             \u003coptions: publish|unpublish\u003e\n      --setdefault           sets API version to be the default\n      --visibility=\u003coption\u003e  visibility of API in SwaggerHub\n                             \u003coptions: public|private\u003e\n\nDESCRIPTION\n  update an API\n  The API version from the file will be used unless the version is specified in the command argument.\n  When no file is specified then the default API version will be updated.\n  The API visibility can be changed by using visibility flag.\n\n\nEXAMPLES\n  $ swaggerhub api:update organization/api --file api.yaml\n\n  $ swaggerhub api:update organization/api/1.0.0 --file api.json\n\n  $ swaggerhub api:update organization/api/1.0.0 --published=publish --file api.json\n\n  $ swaggerhub api:update organization/api/1.0.0 --setdefault --file api.json\n\n  $ swaggerhub api:update organization/api/1.0.0 --published=unpublish --setdefault --file api.json\n\n  $ swaggerhub api:update organization/api/1.0.0 --visibility=private\n```\n\n_See code: [src/commands/api/update.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/api/update.js)_\n\n## `swaggerhub api:validate`\n\nGet validation result for an API version\n\n```\nUSAGE\n  $ swaggerhub api:validate OWNER/API_NAME/[VERSION] [-c] [-j] [-h]\n\nARGUMENTS\n  OWNER/API_NAME/[VERSION]  API to fetch validation errors for from Swaggerhub\n\nFLAGS\n  -c, --fail-on-critical  Exit with error code 1 if there are critical standardization errors present\n  -h, --help              Show CLI help.\n  -j, --json              Print output in JSON instead of table format\n\nDESCRIPTION\n  Get validation result for an API version\n  When VERSION is not included in the argument, the default version will be validated.\n  An error will occur if the API version does not exist.\n  If the flag `-c` or `--failOnCritical` is used and there are standardization\n  errors with `Critical` severity present, the command will exit with error code `1`.\n\n\nEXAMPLES\n  $ swaggerhub api:validate organization/api/1.0.0\n\n  $ swaggerhub api:validate -c -j organization/api/1.0.0\n\n  $ swaggerhub api:validate --fail-on-critical --json organization/api\n```\n\n_See code: [src/commands/api/validate/index.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/api/validate/index.js)_\n\n## `swaggerhub api:validate:download-rules`\n\nGet existing SwaggerHub's organization standardization ruleset.\n\n```\nUSAGE\n  $ swaggerhub api:validate:download-rules OWNER [-s] [-d] [-h]\n\nARGUMENTS\n  OWNER  Which organization standardization rules to fetch from SwaggerHub\n\nFLAGS\n  -d, --include-disabled-rules  Includes disabled rules in fetched organization's ruleset\n  -h, --help                    Show CLI help.\n  -s, --include-system-rules    Includes system rules in fetched organization's ruleset\n\nDESCRIPTION\n  Get existing SwaggerHub's organization standardization ruleset.\n  Requires organization name argument. An error will occur if provided organization doesn't exist\n  or your account is not permitted to access that organization's settings.\n  If the flag `-s` or `--include-system-rules` is used, the returned ruleset will also include SwaggerHub system rules.\n  If the flag `-d` or `--include-disabled-rules` is used, the returned ruleset will also include disabled custom rules\n\nEXAMPLES\n  $ swaggerhub api:validate:download-rules myOrg -s\n\n  $ swaggerhub api:validate:download-rules myOrg --include-disabled-rules -s\n```\n\n_See code: [src/commands/api/validate/download-rules.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/api/validate/download-rules.js)_\n\n## `swaggerhub api:validate:local`\n\nRuns a scan against a local API definition using the organization's standardization configuration on SwaggerHub.\n\n```\nUSAGE\n  $ swaggerhub api:validate:local -f \u003cvalue\u003e -o \u003cvalue\u003e [-c] [-j] [-h]\n\nFLAGS\n  -c, --fail-on-critical      Exit with error code 1 if there are critical standardization errors present\n  -f, --file=\u003cvalue\u003e          (required) Path of API definition file to run scan against\n  -h, --help                  Show CLI help.\n  -j, --json                  Print output in JSON instead of table format\n  -o, --organization=\u003cvalue\u003e  (required) Which organization's standardization settings to use for linting the target\n                              definition\n\nDESCRIPTION\n  Runs a scan against a local API definition using the organization's standardization configuration on SwaggerHub.\n  If the flag `-c` or `--failOnCritical` is used and there are standardization\n  errors with `Critical` severity present, the command will exit with error code `1`.\n\n\nEXAMPLES\n  $ swaggerhub api:validate:local -o myOrg -f ./my-api.yaml -c -j \n\n  $ swaggerhub api:validate:local --organization myOrg --file ./my-api/json --fail-on-critical --json\n```\n\n_See code: [src/commands/api/validate/local.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/api/validate/local.js)_\n\n## `swaggerhub configure`\n\nconfigure application settings\n\n```\nUSAGE\n  $ swaggerhub configure [-h]\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  configure application settings\n  Enter the SwaggerHub URL - default is https://api.swaggerhub.com\n  Customers with on-premise installations need to point this to their on-premise API, which is\n  http(s)://{swaggerhub-host}/v1\n  Enter the API Key - this can be retrieved from https://app.swaggerhub.com/settings/apiKey\n  You can set these as environment variables: SWAGGERHUB_URL, SWAGGERHUB_API_KEY. These take priority over config\n  settings.\n```\n\n_See code: [src/commands/configure.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/configure.js)_\n\n## `swaggerhub domain:create`\n\ncreates a new domain / domain version from a YAML/JSON file\n\n```\nUSAGE\n  $ swaggerhub domain:create OWNER/DOMAIN_NAME/[VERSION] [--visibility public|private] (--published\n    publish|unpublish -f \u003cvalue\u003e) [--setdefault ] [-h]\n\nARGUMENTS\n  OWNER/DOMAIN_NAME/[VERSION]  Domain to create on SwaggerHub\n\nFLAGS\n  -f, --file=\u003cvalue\u003e         (required) file location of domain to create\n  -h, --help                 Show CLI help.\n      --published=\u003coption\u003e   [default: unpublish] sets the lifecycle setting of the domain version\n                             \u003coptions: publish|unpublish\u003e\n      --setdefault           sets domain version to be the default\n      --visibility=\u003coption\u003e  [default: private] visibility of domain in SwaggerHub\n                             \u003coptions: public|private\u003e\n\nDESCRIPTION\n  creates a new domain / domain version from a YAML/JSON file\n  The domain version from the file will be used unless the version is specified in the command argument.\n  An error will occur if the domain version already exists.\n\n\nEXAMPLES\n  $ swaggerhub domain:create organization/domain/1.0.0 --file domain.yaml --visibility public\n\n  $ swaggerhub domain:create organization/domain --file domain.yaml\n\n  $ swaggerhub domain:create organization/domain/1.0.0 --publish --file domain.json\n\n  $ swaggerhub domain:create organization/domain/1.0.0 --setdefault --file domain.json\n\n  $ swaggerhub domain:create organization/domain/1.0.0 --publish --setdefault --file domain.json\n```\n\n_See code: [src/commands/domain/create.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/domain/create.js)_\n\n## `swaggerhub domain:delete`\n\ndelete a domain or domain version\n\n```\nUSAGE\n  $ swaggerhub domain:delete OWNER/DOMAIN_NAME/[VERSION] [-f] [-h]\n\nARGUMENTS\n  OWNER/DOMAIN_NAME/[VERSION]  Domain to delete on SwaggerHub\n\nFLAGS\n  -f, --force  delete domain without prompting for confirmation\n  -h, --help   Show CLI help.\n\nDESCRIPTION\n  delete a domain or domain version\n\n\nEXAMPLES\n  $ swaggerhub domain:delete organization/domain/1.0.0\n\n  $ swaggerhub domain:delete organization/domain\n\n  $ swaggerhub domain:delete organization/domain --force\n```\n\n_See code: [src/commands/domain/delete.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/domain/delete.js)_\n\n## `swaggerhub domain:get`\n\nfetches a domain definition\n\n```\nUSAGE\n  $ swaggerhub domain:get OWNER/DOMAIN_NAME/[VERSION] [-j] [-h]\n\nARGUMENTS\n  OWNER/DOMAIN_NAME/[VERSION]  Domain to fetch from SwaggerHub\n\nFLAGS\n  -h, --help  Show CLI help.\n  -j, --json  returns the domain in JSON format.\n\nDESCRIPTION\n  fetches a domain definition\n  When VERSION is not included in the argument, the default version will be returned.\n  Returns the domain in YAML format by default.\n\n\nEXAMPLES\n  $ swaggerhub domain:get organization/domain\n\n  $ swaggerhub domain:get organization/domain/1.0.0 --json\n```\n\n_See code: [src/commands/domain/get.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/domain/get.js)_\n\n## `swaggerhub domain:publish`\n\npublish a domain version\n\n```\nUSAGE\n  $ swaggerhub domain:publish OWNER/DOMAIN_NAME/VERSION [-h]\n\nARGUMENTS\n  OWNER/DOMAIN_NAME/VERSION  Domain to publish on SwaggerHub\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  publish a domain version\n\nEXAMPLES\n  $ swaggerhub domain:publish organization/domain/1.0.0\n```\n\n_See code: [src/commands/domain/publish.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/domain/publish.js)_\n\n## `swaggerhub domain:setdefault`\n\nset the default version of a domain\n\n```\nUSAGE\n  $ swaggerhub domain:setdefault OWNER/DOMAIN_NAME/VERSION [-h]\n\nARGUMENTS\n  OWNER/DOMAIN_NAME/VERSION  Domain to set as default on SwaggerHub\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  set the default version of a domain\n\nEXAMPLES\n  $ swaggerhub domain:setdefault organization/domain/2.0.0\n```\n\n_See code: [src/commands/domain/setdefault.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/domain/setdefault.js)_\n\n## `swaggerhub domain:unpublish`\n\nunpublish a domain version\n\n```\nUSAGE\n  $ swaggerhub domain:unpublish OWNER/DOMAIN_NAME/VERSION [-h]\n\nARGUMENTS\n  OWNER/DOMAIN_NAME/VERSION  Domain to unpublish on SwaggerHub\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  unpublish a domain version\n\nEXAMPLES\n  $ swaggerhub domain:unpublish organization/domain/1.0.0\n```\n\n_See code: [src/commands/domain/unpublish.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/domain/unpublish.js)_\n\n## `swaggerhub domain:update`\n\nupdate a domain\n\n```\nUSAGE\n  $ swaggerhub domain:update OWNER/DOMAIN_NAME/[VERSION] [-f \u003cvalue\u003e] [--visibility public|private] [--published\n    publish|unpublish] [--setdefault] [-h]\n\nARGUMENTS\n  OWNER/DOMAIN_NAME/[VERSION]  Domain to update on SwaggerHub\n\nFLAGS\n  -f, --file=\u003cvalue\u003e         file location of domain to update\n  -h, --help                 Show CLI help.\n      --published=\u003coption\u003e   sets the lifecycle setting of the domain version\n                             \u003coptions: publish|unpublish\u003e\n      --setdefault           sets domain version to be the default\n      --visibility=\u003coption\u003e  visibility of domain in SwaggerHub\n                             \u003coptions: public|private\u003e\n\nDESCRIPTION\n  update a domain\n  The domain version from the file will be used unless the version is specified in the command argument.\n  When no file is specified then the default domain version will be updated.\n  The domain visibility can be changed by using visibility flag.\n\n\nEXAMPLES\n  $ swaggerhub domain:update organization/domain --file domain.yaml\n\n  $ swaggerhub domain:update organization/domain/1.0.0 --file domain.json\n\n  $ swaggerhub domain:update organization/domain/1.0.0 --published=publish --file domain.json\n\n  $ swaggerhub domain:update organization/domain/1.0.0 --setdefault --file domain.json\n\n  $ swaggerhub domain:update organization/domain/1.0.0 --published=unpublish --setdefault --file domain.json\n\n  $ swaggerhub domain:update organization/domain/1.0.0 --visibility=private\n```\n\n_See code: [src/commands/domain/update.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/domain/update.js)_\n\n## `swaggerhub help`\n\nDisplay help for swaggerhub.\n\n```\nUSAGE\n  $ swaggerhub help [COMMAND...] [-n]\n\nARGUMENTS\n  COMMAND...  Command to show help for.\n\nFLAGS\n  -n, --nested-commands  Include all nested commands in the output.\n\nDESCRIPTION\n  Display help for swaggerhub.\n```\n\n_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.0.22/src/commands/help.ts)_\n\n## `swaggerhub integration:create`\n\ncreates a new API integration from a JSON configuration file.\n\n```\nUSAGE\n  $ swaggerhub integration:create OWNER/API_NAME/[VERSION] -f \u003cvalue\u003e [-h]\n\nARGUMENTS\n  OWNER/API_NAME/[VERSION]  API to add integration to on SwaggerHub\n\nFLAGS\n  -f, --file=\u003cvalue\u003e  (required) location of integration configuration file\n  -h, --help          Show CLI help.\n\nDESCRIPTION\n  creates a new API integration from a JSON configuration file.\n  See the documentation for configuration files:\n  https://github.com/SmartBear/swaggerhub-cli/tree/main/examples/integrations\n  When VERSION is not included in the argument, the integration will be added to be default API version.\n\n\nEXAMPLES\n  $ swaggerhub integration:create organization/api/1.0.0 --file config.json\n```\n\n_See code: [src/commands/integration/create.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/integration/create.js)_\n\n## `swaggerhub integration:delete`\n\ndeletes the integration from the given API.\n\n```\nUSAGE\n  $ swaggerhub integration:delete OWNER/API_NAME/VERSION/INTEGRATION_ID [-h]\n\nARGUMENTS\n  OWNER/API_NAME/VERSION/INTEGRATION_ID  Integration to delete for given API on Swaggerhub\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  deletes the integration from the given API.\n\nEXAMPLES\n  $ swaggerhub integration:delete organization/api/1.0.0/503c2db6-448a-4678-a310-f465429e9704\n```\n\n_See code: [src/commands/integration/delete.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/integration/delete.js)_\n\n## `swaggerhub integration:execute`\n\nexecutes an integration for the given API.\n\n```\nUSAGE\n  $ swaggerhub integration:execute OWNER/API_NAME/VERSION/INTEGRATION_ID [-h]\n\nARGUMENTS\n  OWNER/API_NAME/VERSION/INTEGRATION_ID  Integration to execute for given API on Swaggerhub\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  executes an integration for the given API.\n\nEXAMPLES\n  $ swaggerhub integration:execute organization/api/1.0.0/503c2db6-448a-4678-a310-f465429e9704\n```\n\n_See code: [src/commands/integration/execute.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/integration/execute.js)_\n\n## `swaggerhub integration:get`\n\nretieves an integration for the given API.\n\n```\nUSAGE\n  $ swaggerhub integration:get OWNER/API_NAME/VERSION/INTEGRATION_ID [-h]\n\nARGUMENTS\n  OWNER/API_NAME/VERSION/INTEGRATION_ID  Integration to fetch for given API on Swaggerhub\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  retieves an integration for the given API.\n\nEXAMPLES\n  $ swaggerhub integration:get organization/api/1.0.0/503c2db6-448a-4678-a310-f465429e9704\n```\n\n_See code: [src/commands/integration/get.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/integration/get.js)_\n\n## `swaggerhub integration:list`\n\nlist integrations on an API.\n\n```\nUSAGE\n  $ swaggerhub integration:list OWNER/API_NAME/[VERSION] [-h]\n\nARGUMENTS\n  OWNER/API_NAME/[VERSION]  API to list integrations for on Swaggerhub\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  list integrations on an API.\n\nEXAMPLES\n  $ swaggerhub integration:list organization/api/1.0.0\n```\n\n_See code: [src/commands/integration/list.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/integration/list.js)_\n\n## `swaggerhub integration:update`\n\nupdate the configuration of an API integration.\n\n```\nUSAGE\n  $ swaggerhub integration:update OWNER/API_NAME/VERSION/INTEGRATION_ID -f \u003cvalue\u003e [-h]\n\nARGUMENTS\n  OWNER/API_NAME/VERSION/INTEGRATION_ID  Integration to update for given API on Swaggerhub\n\nFLAGS\n  -f, --file=\u003cvalue\u003e  (required) location of integration configuration file\n  -h, --help          Show CLI help.\n\nDESCRIPTION\n  update the configuration of an API integration.\n\nEXAMPLES\n  $ swaggerhub integration:update organization/api/1.0.0/503c2db6-448a-4678-abcd-0123456789abc --file config.json\n```\n\n_See code: [src/commands/integration/update.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/integration/update.js)_\n\n## `swaggerhub plugins`\n\nList installed plugins.\n\n```\nUSAGE\n  $ swaggerhub plugins [--json] [--core]\n\nFLAGS\n  --core  Show core plugins.\n\nGLOBAL FLAGS\n  --json  Format output as json.\n\nDESCRIPTION\n  List installed plugins.\n\nEXAMPLES\n  $ swaggerhub plugins\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.25/src/commands/plugins/index.ts)_\n\n## `swaggerhub plugins:add`\n\nInstalls a plugin into swaggerhub.\n\n```\nUSAGE\n  $ swaggerhub plugins:add PLUGIN... [--json] [-f] [-h] [-s | -v]\n\nARGUMENTS\n  PLUGIN...  Plugin to install.\n\nFLAGS\n  -f, --force    Force npm to fetch remote resources even if a local copy exists on disk.\n  -h, --help     Show CLI help.\n  -s, --silent   Silences npm output.\n  -v, --verbose  Show verbose npm output.\n\nGLOBAL FLAGS\n  --json  Format output as json.\n\nDESCRIPTION\n  Installs a plugin into swaggerhub.\n\n  Uses npm to install plugins.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  Use the SWAGGERHUB_NPM_LOG_LEVEL environment variable to set the npm loglevel.\n  Use the SWAGGERHUB_NPM_REGISTRY environment variable to set the npm registry.\n\nALIASES\n  $ swaggerhub plugins:add\n\nEXAMPLES\n  Install a plugin from npm registry.\n\n    $ swaggerhub plugins:add myplugin\n\n  Install a plugin from a github url.\n\n    $ swaggerhub plugins:add https://github.com/someuser/someplugin\n\n  Install a plugin from a github slug.\n\n    $ swaggerhub plugins:add someuser/someplugin\n```\n\n## `swaggerhub plugins:inspect`\n\nDisplays installation properties of a plugin.\n\n```\nUSAGE\n  $ swaggerhub plugins:inspect PLUGIN...\n\nARGUMENTS\n  PLUGIN...  [default: .] Plugin to inspect.\n\nFLAGS\n  -h, --help     Show CLI help.\n  -v, --verbose\n\nGLOBAL FLAGS\n  --json  Format output as json.\n\nDESCRIPTION\n  Displays installation properties of a plugin.\n\nEXAMPLES\n  $ swaggerhub plugins:inspect myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.25/src/commands/plugins/inspect.ts)_\n\n## `swaggerhub plugins:install`\n\nInstalls a plugin into swaggerhub.\n\n```\nUSAGE\n  $ swaggerhub plugins:install PLUGIN... [--json] [-f] [-h] [-s | -v]\n\nARGUMENTS\n  PLUGIN...  Plugin to install.\n\nFLAGS\n  -f, --force    Force npm to fetch remote resources even if a local copy exists on disk.\n  -h, --help     Show CLI help.\n  -s, --silent   Silences npm output.\n  -v, --verbose  Show verbose npm output.\n\nGLOBAL FLAGS\n  --json  Format output as json.\n\nDESCRIPTION\n  Installs a plugin into swaggerhub.\n\n  Uses npm to install plugins.\n\n  Installation of a user-installed plugin will override a core plugin.\n\n  Use the SWAGGERHUB_NPM_LOG_LEVEL environment variable to set the npm loglevel.\n  Use the SWAGGERHUB_NPM_REGISTRY environment variable to set the npm registry.\n\nALIASES\n  $ swaggerhub plugins:add\n\nEXAMPLES\n  Install a plugin from npm registry.\n\n    $ swaggerhub plugins:install myplugin\n\n  Install a plugin from a github url.\n\n    $ swaggerhub plugins:install https://github.com/someuser/someplugin\n\n  Install a plugin from a github slug.\n\n    $ swaggerhub plugins:install someuser/someplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.25/src/commands/plugins/install.ts)_\n\n## `swaggerhub plugins:link`\n\nLinks a plugin into the CLI for development.\n\n```\nUSAGE\n  $ swaggerhub plugins:link PATH [-h] [--install] [-v]\n\nARGUMENTS\n  PATH  [default: .] path to plugin\n\nFLAGS\n  -h, --help          Show CLI help.\n  -v, --verbose\n      --[no-]install  Install dependencies after linking the plugin.\n\nDESCRIPTION\n  Links a plugin into the CLI for development.\n\n  Installation of a linked plugin will override a user-installed or core plugin.\n\n  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'\n  command will override the user-installed or core plugin implementation. This is useful for development work.\n\n\nEXAMPLES\n  $ swaggerhub plugins:link myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.25/src/commands/plugins/link.ts)_\n\n## `swaggerhub plugins:remove`\n\nRemoves a plugin from the CLI.\n\n```\nUSAGE\n  $ swaggerhub plugins:remove [PLUGIN...] [-h] [-v]\n\nARGUMENTS\n  PLUGIN...  plugin to uninstall\n\nFLAGS\n  -h, --help     Show CLI help.\n  -v, --verbose\n\nDESCRIPTION\n  Removes a plugin from the CLI.\n\nALIASES\n  $ swaggerhub plugins:unlink\n  $ swaggerhub plugins:remove\n\nEXAMPLES\n  $ swaggerhub plugins:remove myplugin\n```\n\n## `swaggerhub plugins:reset`\n\nRemove all user-installed and linked plugins.\n\n```\nUSAGE\n  $ swaggerhub plugins:reset [--hard] [--reinstall]\n\nFLAGS\n  --hard       Delete node_modules and package manager related files in addition to uninstalling plugins.\n  --reinstall  Reinstall all plugins after uninstalling.\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.25/src/commands/plugins/reset.ts)_\n\n## `swaggerhub plugins:uninstall`\n\nRemoves a plugin from the CLI.\n\n```\nUSAGE\n  $ swaggerhub plugins:uninstall [PLUGIN...] [-h] [-v]\n\nARGUMENTS\n  PLUGIN...  plugin to uninstall\n\nFLAGS\n  -h, --help     Show CLI help.\n  -v, --verbose\n\nDESCRIPTION\n  Removes a plugin from the CLI.\n\nALIASES\n  $ swaggerhub plugins:unlink\n  $ swaggerhub plugins:remove\n\nEXAMPLES\n  $ swaggerhub plugins:uninstall myplugin\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.25/src/commands/plugins/uninstall.ts)_\n\n## `swaggerhub plugins:unlink`\n\nRemoves a plugin from the CLI.\n\n```\nUSAGE\n  $ swaggerhub plugins:unlink [PLUGIN...] [-h] [-v]\n\nARGUMENTS\n  PLUGIN...  plugin to uninstall\n\nFLAGS\n  -h, --help     Show CLI help.\n  -v, --verbose\n\nDESCRIPTION\n  Removes a plugin from the CLI.\n\nALIASES\n  $ swaggerhub plugins:unlink\n  $ swaggerhub plugins:remove\n\nEXAMPLES\n  $ swaggerhub plugins:unlink myplugin\n```\n\n## `swaggerhub plugins:update`\n\nUpdate installed plugins.\n\n```\nUSAGE\n  $ swaggerhub plugins:update [-h] [-v]\n\nFLAGS\n  -h, --help     Show CLI help.\n  -v, --verbose\n\nDESCRIPTION\n  Update installed plugins.\n```\n\n_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.25/src/commands/plugins/update.ts)_\n\n## `swaggerhub project:api:add`\n\nAdds an API to an existing project.\n\n```\nUSAGE\n  $ swaggerhub project:api:add OWNER/PROJECT_NAME API [-h]\n\nARGUMENTS\n  OWNER/PROJECT_NAME  The project to add the API to on Swaggerhub\n  API                 The name of the API on Swaggerhub to add\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  Adds an API to an existing project.\n\nEXAMPLES\n  $ swaggerhub project:api:add organization/project_name my_api\n```\n\n_See code: [src/commands/project/api/add.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/project/api/add.js)_\n\n## `swaggerhub project:api:remove`\n\nRemoves an API from a project in SwaggerHub.\n\n```\nUSAGE\n  $ swaggerhub project:api:remove OWNER/PROJECT_NAME API [-h]\n\nARGUMENTS\n  OWNER/PROJECT_NAME  The project to remove the API from on Swaggerhub\n  API                 The name of the API on Swaggerhub to remove\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  Removes an API from a project in SwaggerHub.\n\nEXAMPLES\n  $ swaggerhub project:api:remove organization/project_name my_api\n```\n\n_See code: [src/commands/project/api/remove.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/project/api/remove.js)_\n\n## `swaggerhub project:create`\n\nCreates a new project in SwaggerHub.\n\n```\nUSAGE\n  $ swaggerhub project:create OWNER/PROJECT_NAME [--description \u003cvalue\u003e] [-a \u003cvalue\u003e] [-d \u003cvalue\u003e] [-h]\n\nARGUMENTS\n  OWNER/PROJECT_NAME  The new project to create on Swaggerhub\n\nFLAGS\n  -a, --apis=\u003cvalue\u003e         Comma separated list of api names to include in project\n  -d, --domains=\u003cvalue\u003e      Comma separated list of domain names to include in project\n  -h, --help                 Show CLI help.\n      --description=\u003cvalue\u003e  Description of project\n\nDESCRIPTION\n  Creates a new project in SwaggerHub.\n\nEXAMPLES\n  $ swaggerhub project:create organization/new_project_name --description \"project description\"\n\n  $ swaggerhub project:create organization/new_project_name -a \"testapi1,testapi2\"\n\n  $ swaggerhub project:create organization/new_project_name --apis \"testapi1,testapi2\"\n\n  $ swaggerhub project:create organization/new_project_name -d \"testdomain3,testdomain4\"\n\n  $ swaggerhub project:create organization/new_project_name --domains \"testdomain3,testdomain4\"\n\n  $ swaggerhub project:create organization/new_project_name -a \"testapi1\" -d \"testdomain3\" --description \"description\"\n```\n\n_See code: [src/commands/project/create.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/project/create.js)_\n\n## `swaggerhub project:delete`\n\nDeletes a project from SwaggerHub.\n\n```\nUSAGE\n  $ swaggerhub project:delete OWNER/PROJECT_NAME [-h]\n\nARGUMENTS\n  OWNER/PROJECT_NAME  The project to delete on Swaggerhub\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  Deletes a project from SwaggerHub.\n\nEXAMPLES\n  $ swaggerhub project:delete organization/project_name\n```\n\n_See code: [src/commands/project/delete.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/project/delete.js)_\n\n## `swaggerhub project:domain:add`\n\nAdds a domain to an existing project.\n\n```\nUSAGE\n  $ swaggerhub project:domain:add OWNER/PROJECT_NAME DOMAIN [-h]\n\nARGUMENTS\n  OWNER/PROJECT_NAME  The project to add the domain to on Swaggerhub\n  DOMAIN              The name of the domain on Swaggerhub to add\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  Adds a domain to an existing project.\n\nEXAMPLES\n  $ swaggerhub project:domain:add organization/project_name my_domain\n```\n\n_See code: [src/commands/project/domain/add.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/project/domain/add.js)_\n\n## `swaggerhub project:domain:remove`\n\nRemoves a domain from a project in SwaggerHub.\n\n```\nUSAGE\n  $ swaggerhub project:domain:remove OWNER/PROJECT_NAME DOMAIN [-h]\n\nARGUMENTS\n  OWNER/PROJECT_NAME  The project to remove the domain from on Swaggerhub\n  DOMAIN              The name of the domain on Swaggerhub to remove\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  Removes a domain from a project in SwaggerHub.\n\nEXAMPLES\n  $ swaggerhub project:domain:remove organization/project_name my_domain\n```\n\n_See code: [src/commands/project/domain/remove.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/project/domain/remove.js)_\n\n## `swaggerhub project:get`\n\nRetrieves the details for a project.\n\n```\nUSAGE\n  $ swaggerhub project:get OWNER/PROJECT_NAME [-h]\n\nARGUMENTS\n  OWNER/PROJECT_NAME  The project to get details for on Swaggerhub\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  Retrieves the details for a project.\n\nEXAMPLES\n  $ swaggerhub project:get organization/project_name\n```\n\n_See code: [src/commands/project/get.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/project/get.js)_\n\n## `swaggerhub project:list`\n\nlist projects\n\n```\nUSAGE\n  $ swaggerhub project:list [OWNER] [-h]\n\nARGUMENTS\n  OWNER  The organization to list projects for on Swaggerhub\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  list projects\n\nEXAMPLES\n  $ swaggerhub project:list\n\n  $ swaggerhub project:list organization\n```\n\n_See code: [src/commands/project/list.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/project/list.js)_\n\n## `swaggerhub project:member:list`\n\nlist members of a project\n\n```\nUSAGE\n  $ swaggerhub project:member:list OWNER/PROJECT_NAME [-h]\n\nARGUMENTS\n  OWNER/PROJECT_NAME  Project to list members of on Swaggerhub\n\nFLAGS\n  -h, --help  Show CLI help.\n\nDESCRIPTION\n  list members of a project\n\nEXAMPLES\n  $ swaggerhub project:member:list organisation/project_name\n```\n\n_See code: [src/commands/project/member/list.js](https://github.com/SmartBear/swaggerhub-cli/blob/v0.9.1/src/commands/project/member/list.js)_\n\u003c!-- commandsstop --\u003e\n\n# Plugins\n\nThe SwaggerHub CLI supports plugins via the [oclif plugin](https://oclif.io/docs/plugins) infrastructure.\n\nTo install a plugin\n\n```sh-session\n$ swaggerhub plugins:install \u003cgithub-url\u003e\n```\n\nTo list other options related to plugins\n\n```sh-session\n$ swaggerhub plugins --help\n```\n\nAn example plugin used for fetching popular [JSON Schema](https://json-schema.org/) files, can be found here:  [https://github.com/ponelat/swaggerhub-cli-plugin-schema](https://github.com/ponelat/swaggerhub-cli-plugin-schema)\n\nExample usage\n\n```sh-session\n$ swaggerhub plugins:install https://github.com/ponelat/swaggerhub-cli-plugin-schema\n$ swaggerhub schema:list\n  angular-cli-json\n  ansible\n  apple-app-site-association\n  appsscript-json\n  #...\n$ swaggerhub schema:get ansible\n  {\n    \"description\": \"Auto-Generated JSON Schema for Ansible-stable 2.9 (https://github.com/shaded-enmity/ansible-schema-generator)\",\n    \"title\": \"Ansible 2.9\",\n    \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n    \"type\": \"array\",\n  # ...\n```\n\n# Contributing\n\u003c!-- contributing --\u003e\nThe SwaggerHub CLI is currently in an active development phase—we will not be accepting Pull Requests at this time. If you’ve found any bugs or typos, or have a feature requests or general feedback you’d like to share, please open an [issue](https://github.com/SmartBear/swaggerhub-cli/issues) and let us know.\n\u003c!-- contributingstop --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSmartBear%2Fswaggerhub-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSmartBear%2Fswaggerhub-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSmartBear%2Fswaggerhub-cli/lists"}