upload
server upload [@command-file] [parameters] file
Uploads a single bundle to the specified saker.nest repository.
@command-file
File path prefixed with '@' to directly include arguments from the specified file. Each argument is on its separate line. They are directly inserted in place of the @command-file argument. The argument can appear anywhere on the command line. Escaping is not supported for arguments in the command file. The file path may be absolute or relative.
E.g: @path/to/arguments.txt
-server
The URL of the server to which the upload should be performed.
It is https://api.nest.saker.build by default.
-overwrite
Flag specifying that the already existing bundles can be overwritten.
If not set, the server will decide whether or not the bundles may be overwritten.
-api-key
Specifies the API Key to be used for the upload request.
The argument is expected to be in URL safe Base64 format.
-api-secret
Specifies the API Secret to be used for the upload request.
The argument is expected to be in URL safe Base64 format.
file
Path to the bundle to upload.
The specified Java archive should be a valid saker.nest bundle. If not, an exception is thrown before the upload request is initiated.