Fixed techdocs-cli package publish CLI command missing awsBucketRootPath option

Signed-off-by: Albin Halinen Wilén <git@alphahw.eu>
This commit is contained in:
Albin Halinen Wilén
2023-01-13 15:36:52 +08:00
parent 9d456891f9
commit 6e0b6a0d50
3 changed files with 10 additions and 5 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@techdocs/cli': patch
---
Fixed publish command missing awsBucketRootPath option.
+1 -1
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,6 +78,7 @@ 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>
+4 -4
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',