Argument | Description |
-r [git_repo] | The repository from which to update packages. The repository can be an absolute path to a GitHub repository, a URL, or an alias of a repository defined in the wpm.yml configuration file. Optional if a single repository is defined in the wpm.yml configuration file. Required if the wpm.yml file does not define any repositories or defines more than one repository. |
-u [username] | Username for the source repository from which to install packages. For a GitHub repository, specify a GitHub user name. For an IBM webMethods Package Registry repository, specify an Empower username. Optional. Required when installing packages from a private GitHub repository or private IBM webMethods Package Registry repository. |
-p [password] | Password, passphrase, or token for connecting to the source repository. Required if password is not defined in the creds\password property or creds\passphrase property in the wpm.yml configuration file. When working with a GitHub repository using basic authentication, specify a GitHub developer token. When working with a GitHub repository using private keys, specify a passphrase. When working with IBM webMethods Package Registry, specify an Empower password. When creds\private_key_path is set in wpm.yml file or in -k argument, specify passphrase in wpm.yml configuration file or in the -p argument. |
-k [private_key] | Relative or absolute path to the location of the private key file to use for SSH authentication with the remote GitHub repository. The relative path is relative to the location of the wpm launch script (usually \wpm\bin). Required if SSH authentication is used and the creds\private_key_path property is not set in the wpm.yml configuration file. |
-j [token] | OAuth token for obtaining packages from the GitHub repository or IBM webMethods Package Registry repository protected by token authorization. Required only if remote GitHub repository or registry requires an OAuth token for authentication and jwt_token is not set in the wpm.yml file. |
-ad {true|false} | Whether IBM webMethods Package Manager checks for dependent packages and automatically updates them. If set to false or not present, wpm does not attempt to automatically update dependencies. All missing dependencies are listed as warnings in the output. If set to true, wpm attempts to update all dependent packages and reports errors for any it cannot update. Optional. The default is false. |
-sb {true|false} | Whether IBM webMethods Package Manager scans branches and tags in the repository for the specified version number of a packages. If set to true, wpm scans branches and tags; false scans only tags. Optional. The default is true. |
-kr {true|false} | Whether IBM webMethods Package Manager keeps the local repository or cleans it up after the wpm update command completes. A value of true keeps the repository; false indicates that IBM webMethods Package Manager deletes all the local repositories once the wpm update command completes successfully. Keeping the local repository can be useful if multiple instances of Integration Server reside on the same machine and you want to update the packages in multiple instances or if different versions of the same package will be installed. Use wpm clean to delete local repositories. Optional. The default is false. |
-ws [package-manager-server] | URL of the IBM webMethods Package Registry that contains the package to update. Optional. Specify -ws argument when you want to update a package located on a IBM webMethods Package Registry and one of the following is true: The wpm.yml configuration file does not set a IBM webMethods Package Registry. You want to override the value configured in the wpm.yml configuration file. A wpm.yml file is not used with wpm |
-wr [package-manager-registry] | Name of the registry in IBM webMethods Package Registry from which to update packages. The IBM webMethods Package Registry can contain multiple registries in addition to the default registry. Optional. Supply -wr if also supplying -ws and you want to update packages from a registry other than the default registry. If the -wr argument is not supplied but the -ws argument is supplied, wpm uses the default registry for the update operation. |
-d [target-installation] | Relative or absolute path to the target installation server. The relative path is relative to the location of the wpm launch script (usually \wpm\bin). Required if all the following are true: The target_installation property is not set in the wpm.yml configuration file. The SAG home environment variable is not specified. IBM webMethods Package Manager is not in the same installation directory as the target server. |
-ks {true|false} | Whether IBM webMethods Package Manager preserves the enabled or disabled state of a package. If the -ks argument is not supplied, wpm sets the state of a package as enabled. The -ks argument also affects any dependent packages. Optional. The default is false. |