ID | d792ce57-6851-415a-b6c9-18550e512136 |
Usage: brooklime [options] [command] [command options] Options: --verbose Set the minimum logging verbosity level Default: info Possible Values: [trace, debug, info, warn, error] Commands: close Close an existing staging repository Usage: close [options] Options: --baseURI The Nexus URI Default: https://oss.sonatype.org:443/ * --password The Nexus password * --repository The staging repository ID * --stagingProfileId The Nexus staging profile id * --user The Nexus user name --verbose Set the minimum logging verbosity level Default: info Possible Values: [trace, debug, info, warn, error] create Create a staging repository Usage: create [options] Options: --baseURI The Nexus URI Default: https://oss.sonatype.org:443/ * --description The staging repository description * --password The Nexus password * --stagingProfileId The Nexus staging profile id * --user The Nexus user name --verbose Set the minimum logging verbosity level Default: info Possible Values: [trace, debug, info, warn, error] drop Drop an existing staging repository Usage: drop [options] Options: --baseURI The Nexus URI Default: https://oss.sonatype.org:443/ * --password The Nexus password * --repository The staging repository ID * --stagingProfileId The Nexus staging profile id * --user The Nexus user name --verbose Set the minimum logging verbosity level Default: info Possible Values: [trace, debug, info, warn, error] list List the current staging repositories Usage: list [options] Options: --baseURI The Nexus URI Default: https://oss.sonatype.org:443/ * --password The Nexus password * --stagingProfileId The Nexus staging profile id * --user The Nexus user name --verbose Set the minimum logging verbosity level Default: info Possible Values: [trace, debug, info, warn, error] release Release an existing staging repository Usage: release [options] Options: --baseURI The Nexus URI Default: https://oss.sonatype.org:443/ * --password The Nexus password * --repository The staging repository ID * --stagingProfileId The Nexus staging profile id * --user The Nexus user name --verbose Set the minimum logging verbosity level Default: info Possible Values: [trace, debug, info, warn, error] show Show an existing staging repository Usage: show [options] Options: --baseURI The Nexus URI Default: https://oss.sonatype.org:443/ * --password The Nexus password * --repository The staging repository ID * --stagingProfileId The Nexus staging profile id * --user The Nexus user name --verbose Set the minimum logging verbosity level Default: info Possible Values: [trace, debug, info, warn, error] upload Upload files to an existing staging repository Usage: upload [options] Options: --baseURI The Nexus URI Default: https://oss.sonatype.org:443/ * --directory The directory containing files to be uploaded * --password The Nexus password * --repository The staging repository ID * --stagingProfileId The Nexus staging profile id * --user The Nexus user name --verbose Set the minimum logging verbosity level Default: info Possible Values: [trace, debug, info, warn, error] version Show the application version Usage: version [options] Options: --verbose Set the minimum logging verbosity level Default: info Possible Values: [trace, debug, info, warn, error]
$ brooklime list --user someone --password notarealpassword --stagingProfileId c608eebdbad499e5fd3eb6d6 ID Status Description example-1000 open Implicitly created (auto staging). example-1001 open Implicitly created (auto staging). example-1002 open Implicitly created (auto staging). $ (cat <<EOF list --user someone --password notarealpassword --stagingProfileId c608eebdbad499e5fd3eb6d6 EOF ) > args.txt $ brooklime @args.txt ID Status Description example-1000 open Implicitly created (auto staging). example-1001 open Implicitly created (auto staging). example-1002 open Implicitly created (auto staging).
Parameter | Type | Required | Description |
---|---|---|---|
--baseURI | URI | false | The base URI of the repository manager. |
--password | String | true | The password for the Nexus user account. |
--stagingProfileId | String | true | The staging profile ID. |
--user | String | true | The name of the Nexus user account. |
--repository | String | true | The staging repository ID. |
--retryCount | Integer | false | The number of times to retry failed HTTP requests. |
--retryDelay | Integer | false | The number of seconds to pause between retrying failed HTTP requests. |
$ brooklime list --user someone --password notarealpassword --stagingProfileId c608eebdbad499e5fd3eb6d6 ID Status Description example-1000 open Implicitly created (auto staging). example-1001 open Implicitly created (auto staging). example-1002 open Implicitly created (auto staging). $ brooklime close --user someone --password notarealpassword --stagingProfileId c608eebdbad499e5fd3eb6d6 --repository example-1001 $ brooklime list --user someone --password notarealpassword --stagingProfileId c608eebdbad499e5fd3eb6d6 ID Status Description example-1000 open Implicitly created (auto staging). example-1001 closed Implicitly created (auto staging). example-1002 open Implicitly created (auto staging).
Parameter | Type | Required | Description |
---|---|---|---|
--baseURI | URI | false | The base URI of the repository manager. |
--password | String | true | The password for the Nexus user account. |
--stagingProfileId | String | true | The staging profile ID. |
--user | String | true | The name of the Nexus user account. |
--description | String | true | The humanly-readable description of the staging repository. |
--retryCount | Integer | false | The number of times to retry failed HTTP requests. |
--retryDelay | Integer | false | The number of seconds to pause between retrying failed HTTP requests. |
--outputFile | Path | false | The output file that will contain the staging repository ID. |
$ brooklime create --user someone --password notarealpassword --stagingProfileId c608eebdbad499e5fd3eb6d6 --description 'An example staging repository.' example-1000 $ brooklime list --user someone --password notarealpassword --stagingProfileId c608eebdbad499e5fd3eb6d6 ID Status Description example-1000 open An example staging repository.
Parameter | Type | Required | Description |
---|---|---|---|
--baseURI | URI | false | The base URI of the repository manager. |
--password | String | true | The password for the Nexus user account. |
--stagingProfileId | String | true | The staging profile ID. |
--user | String | true | The name of the Nexus user account. |
--repository | String | true | The staging repository ID. |
--retryCount | Integer | false | The number of times to retry failed HTTP requests. |
--retryDelay | Integer | false | The number of seconds to pause between retrying failed HTTP requests. |
$ brooklime list --user someone --password notarealpassword --stagingProfileId c608eebdbad499e5fd3eb6d6 ID Status Description example-1000 open Implicitly created (auto staging). example-1001 open Implicitly created (auto staging). example-1002 open Implicitly created (auto staging). $ brooklime drop --user someone --password notarealpassword --stagingProfileId c608eebdbad499e5fd3eb6d6 --repository example-1001 $ brooklime list --user someone --password notarealpassword --stagingProfileId c608eebdbad499e5fd3eb6d6 ID Status Description example-1000 open Implicitly created (auto staging). example-1002 open Implicitly created (auto staging).
Parameter | Type | Required | Description |
---|---|---|---|
--baseURI | URI | false | The base URI of the repository manager. |
--password | String | true | The password for the Nexus user account. |
--stagingProfileId | String | true | The staging profile ID. |
--user | String | true | The name of the Nexus user account. |
--retryCount | Integer | false | The number of times to retry failed HTTP requests. |
--retryDelay | Integer | false | The number of seconds to pause between retrying failed HTTP requests. |
$ brooklime list --user someone --password notarealpassword --stagingProfileId c608eebdbad499e5fd3eb6d6 ID Status Description example-1000 open Implicitly created (auto staging). example-1001 open Implicitly created (auto staging). example-1002 open Implicitly created (auto staging).
Parameter | Type | Required | Description |
---|---|---|---|
--baseURI | URI | false | The base URI of the repository manager. |
--password | String | true | The password for the Nexus user account. |
--stagingProfileId | String | true | The staging profile ID. |
--user | String | true | The name of the Nexus user account. |
--repository | String | true | The staging repository ID. |
--retryCount | Integer | false | The number of times to retry failed HTTP requests. |
--retryDelay | Integer | false | The number of seconds to pause between retrying failed HTTP requests. |
$ brooklime list --user someone --password notarealpassword --stagingProfileId c608eebdbad499e5fd3eb6d6 ID Status Description example-1000 open Implicitly created (auto staging). example-1001 closed Implicitly created (auto staging). example-1002 open Implicitly created (auto staging). $ brooklime release --user someone --password notarealpassword --stagingProfileId c608eebdbad499e5fd3eb6d6 --repository example-1001 $ brooklime list --user someone --password notarealpassword --stagingProfileId c608eebdbad499e5fd3eb6d6 ID Status Description example-1000 open Implicitly created (auto staging). example-1002 open Implicitly created (auto staging).
Parameter | Type | Required | Description |
---|---|---|---|
--baseURI | URI | false | The base URI of the repository manager. |
--password | String | true | The password for the Nexus user account. |
--stagingProfileId | String | true | The staging profile ID. |
--user | String | true | The name of the Nexus user account. |
--repository | String | true | The staging repository ID. |
--retryCount | Integer | false | The number of times to retry failed HTTP requests. |
--retryDelay | Integer | false | The number of seconds to pause between retrying failed HTTP requests. |
$ brooklime show --user someone --password notarealpassword --stagingProfileId c608eebdbad499e5fd3eb6d6 --repository example-1001 Created: 2020-05-03T08:53:42.449Z Description: An example staging repository. IP: 255.255.255.255 Notifications: 0 Policy: release Profile ID: c608eebdbad499e5fd3eb6d6 Profile name: com.example Profile type: repository Provider: maven2 Release repository ID: releases Release repository name: Releases Repository URI: https://oss.sonatype.org/content/repositories/example-1001 Repository: example-1001 Transitioning: false Type: open Updated: 2020-05-03T08:53:48.313Z User ID: someone User agent: Brooklime/0.0.1 (com.io7m.brooklime.vanilla/0.0.1)
Parameter | Type | Required | Description |
---|---|---|---|
--baseURI | URI | false | The base URI of the repository manager. |
--password | String | true | The password for the Nexus user account. |
--stagingProfileId | String | true | The staging profile ID. |
--user | String | true | The name of the Nexus user account. |
--repository | String | true | The staging repository ID. |
--directory | Path | true | The directory containing files. |
--retrySeconds | Long | false | The number of seconds to wait between retries of failed uploads. |
--retryCount | Integer | false | The maximum number of retries of failed uploads. |
--quiet | Boolean | false | Only log the start of file uploads - not every status update |
$ brooklime upload \ --user someone \ --password notarealpassword \ --stagingProfileId c608eebdbad499e5fd3eb6d6 \ --repository example-1001 --directory /tmp/directory brooklime: com.io7m.brooklime.cmdline.internal.BLCommandUploadToStagingRepository: INFO: [1/3] /tmp/directory/com/example/test/file0.txt: Started upload, attempt 1 of 10 brooklime: com.io7m.brooklime.cmdline.internal.BLCommandUploadToStagingRepository: INFO: [1/3] /tmp/directory/com/example/test/file0.txt: 7 bytes of 7 bytes, 7 bytes/s, 00:00:00.000 remaining brooklime: com.io7m.brooklime.cmdline.internal.BLCommandUploadToStagingRepository: INFO: [2/3] /tmp/directory/com/example/test/file1.txt: Started upload, attempt 1 of 10 brooklime: com.io7m.brooklime.cmdline.internal.BLCommandUploadToStagingRepository: INFO: [2/3] /tmp/directory/com/example/test/file1.txt: 7 bytes of 7 bytes, 7 bytes/s, 00:00:00.000 remaining brooklime: com.io7m.brooklime.cmdline.internal.BLCommandUploadToStagingRepository: INFO: [3/3] /tmp/directory/com/example/test/file2.txt: Started upload, attempt 1 of 10 brooklime: com.io7m.brooklime.cmdline.internal.BLCommandUploadToStagingRepository: INFO: [3/3] /tmp/directory/com/example/test/file2.txt: 7 bytes of 7 bytes, 7 bytes/s, 00:00:00.000 remaining
$ brooklime version Brooklime 0.0.1