Merge pull request #15738 from alphahw/alphahw/15635

Fixed techdocs-cli package publish CLI command missing awsBucketRootPath option + having the gcsBucketRootPath option misconfigured
This commit is contained in:
Morgan Bentell
2023-01-19 13:38:32 +01:00
committed by GitHub
3 changed files with 13 additions and 7 deletions
+2 -2
View File
@@ -52,7 +52,6 @@ Options:
--awsRoleArn <AWS ROLE ARN>
--awsEndpoint <AWS ENDPOINT>
--awsS3ForcePathStyle
--awsBucketRootPath
--osCredentialId <OPENSTACK SWIFT APPLICATION CREDENTIAL ID>
--osSecret <OPENSTACK SWIFT APPLICATION CREDENTIAL SECRET>
--osAuthUrl <OPENSTACK SWIFT AUTHURL>
@@ -79,11 +78,12 @@ Options:
--awsEndpoint <AWS ENDPOINT>
--awsS3sse <AWS SSE>
--awsS3ForcePathStyle
--awsBucketRootPath <AWS BUCKET ROOT PATH>
--osCredentialId <OPENSTACK SWIFT APPLICATION CREDENTIAL ID>
--osSecret <OPENSTACK SWIFT APPLICATION CREDENTIAL SECRET>
--osAuthUrl <OPENSTACK SWIFT AUTHURL>
--osSwiftUrl <OPENSTACK SWIFT SWIFTURL>
--gcsBucketRootPath
--gcsBucketRootPath <GCS BUCKET ROOT PATH>
--directory <PATH>
-h, --help
```
+5 -5
View File
@@ -101,10 +101,6 @@ export function registerCommands(program: Command) {
'--awsS3ForcePathStyle',
'Optional AWS S3 option to force path style.',
)
.option(
'--awsBucketRootPath',
'Optional sub-directory to store files in Amazon S3',
)
.option(
'--osCredentialId <OPENSTACK SWIFT APPLICATION CREDENTIAL ID>',
'(Required for OpenStack) specify when --publisher-type openStackSwift',
@@ -177,6 +173,10 @@ export function registerCommands(program: Command) {
'--awsS3ForcePathStyle',
'Optional AWS S3 option to force path style.',
)
.option(
'--awsBucketRootPath <AWS BUCKET ROOT PATH>',
'Optional sub-directory to store files in Amazon S3',
)
.option(
'--osCredentialId <OPENSTACK SWIFT APPLICATION CREDENTIAL ID>',
'(Required for OpenStack) specify when --publisher-type openStackSwift',
@@ -194,7 +194,7 @@ export function registerCommands(program: Command) {
'(Required for OpenStack) specify when --publisher-type openStackSwift',
)
.option(
'--gcsBucketRootPath',
'--gcsBucketRootPath <GCS BUCKET ROOT PATH>',
'Optional sub-directory to store files in Google cloud storage',
)
.option(