diff --git a/.changeset/quick-ladybugs-reply.md b/.changeset/quick-ladybugs-reply.md new file mode 100644 index 0000000000..971f6f635b --- /dev/null +++ b/.changeset/quick-ladybugs-reply.md @@ -0,0 +1,6 @@ +--- +'@techdocs/cli': patch +--- + +Fixed publish command missing awsBucketRootPath option. +Fixed publish command having the gcsBucketRootPath option misconfigured, previously returning a boolean vs a string. diff --git a/packages/techdocs-cli/cli-report.md b/packages/techdocs-cli/cli-report.md index 9230fe9f1c..861dad4605 100644 --- a/packages/techdocs-cli/cli-report.md +++ b/packages/techdocs-cli/cli-report.md @@ -52,7 +52,6 @@ Options: --awsRoleArn --awsEndpoint --awsS3ForcePathStyle - --awsBucketRootPath --osCredentialId --osSecret --osAuthUrl @@ -79,11 +78,12 @@ Options: --awsEndpoint --awsS3sse --awsS3ForcePathStyle + --awsBucketRootPath --osCredentialId --osSecret --osAuthUrl --osSwiftUrl - --gcsBucketRootPath + --gcsBucketRootPath --directory -h, --help ``` diff --git a/packages/techdocs-cli/src/commands/index.ts b/packages/techdocs-cli/src/commands/index.ts index d4303ad306..caa7d8efbd 100644 --- a/packages/techdocs-cli/src/commands/index.ts +++ b/packages/techdocs-cli/src/commands/index.ts @@ -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 ', '(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 ', + 'Optional sub-directory to store files in Amazon S3', + ) .option( '--osCredentialId ', '(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 ', 'Optional sub-directory to store files in Google cloud storage', ) .option(