diff --git a/packages/contentstack/README.md b/packages/contentstack/README.md index 2e12d2bdc8..215e1e0cba 100644 --- a/packages/contentstack/README.md +++ b/packages/contentstack/README.md @@ -41,12 +41,9 @@ USAGE * [`csdx cm:branches:delete [-uid ] [-k ]`](#csdx-cmbranchesdelete--uid-value--k-value) * [`csdx cm:branches:diff [--base-branch ] [--compare-branch ] [-k ][--module ] [--format ] [--csv-path ]`](#csdx-cmbranchesdiff---base-branch-value---compare-branch-value--k-value--module-value---format-value---csv-path-value) * [`csdx cm:branches:merge [-k ][--compare-branch ] [--no-revert] [--export-summary-path ] [--use-merge-summary ] [--comment ] [--base-branch ]`](#csdx-cmbranchesmerge--k-value--compare-branch-value---no-revert---export-summary-path-value---use-merge-summary-value---comment-value---base-branch-value) -<<<<<<< HEAD -======= * [`csdx cm:branches:merge-status -k --merge-uid `](#csdx-cmbranchesmerge-status--k-value---merge-uid-value) -* [`csdx cm:bulk-publish`](#csdx-cmbulk-publish) -* [`csdx cm:stacks:audit`](#csdx-cmstacksaudit) -* [`csdx cm:stacks:audit:fix`](#csdx-cmstacksauditfix) +* [`csdx cm:stacks:migration [-k ] [-a ] [--file-path ] [--branch ] [--config-file ] [--config ] [--multiple]`](#csdx-cmstacksmigration--k-value--a-value---file-path-value---branch-value---config-file-value---config-value---multiple) +* [`csdx cm:stacks:clone [--source-branch ] [--target-branch ] [--source-management-token-alias ] [--destination-management-token-alias ] [-n ] [--type a|b] [--source-stack-api-key ] [--destination-stack-api-key ] [--import-webhook-status disable|current]`](#csdx-cmstacksclone---source-branch-value---target-branch-value---source-management-token-alias-value---destination-management-token-alias-value--n-value---type-ab---source-stack-api-key-value---destination-stack-api-key-value---import-webhook-status-disablecurrent) * [`csdx cm:stacks:bulk-assets`](#csdx-cmstacksbulk-assets) * [`csdx cm:stacks:bulk-entries`](#csdx-cmstacksbulk-entries) * [`csdx cm:stacks:clone [--source-branch ] [--target-branch ] [--source-management-token-alias ] [--destination-management-token-alias ] [-n ] [--type a|b] [--source-stack-api-key ] [--destination-stack-api-key ] [--import-webhook-status disable|current]`](#csdx-cmstacksclone---source-branch-value---target-branch-value---source-management-token-alias-value---destination-management-token-alias-value--n-value---type-ab---source-stack-api-key-value---destination-stack-api-key-value---import-webhook-status-disablecurrent) @@ -54,12 +51,7 @@ USAGE * [`csdx cm:stacks:import [--config ] [--stack-api-key ] [--data-dir ] [--alias ] [--module ] [--backup-dir ] [--branch ] [--import-webhook-status disable|current]`](#csdx-cmstacksimport---config-value---stack-api-key-value---data-dir-value---alias-value---module-value---backup-dir-value---branch-value---import-webhook-status-disablecurrent) * [`csdx cm:stacks:import-setup [-k ] [-d ] [-a ] [--modules ]`](#csdx-cmstacksimport-setup--k-value--d-value--a-value---modules-valuevalue) * [`csdx cm:stacks:migration [-k ] [-a ] [--file-path ] [--branch ] [--config-file ] [--config ] [--multiple]`](#csdx-cmstacksmigration--k-value--a-value---file-path-value---branch-value---config-file-value---config-value---multiple) -* [`csdx cm:stacks:publish`](#csdx-cmstackspublish) -* [`csdx cm:stacks:publish-clear-logs`](#csdx-cmstackspublish-clear-logs) -* [`csdx cm:stacks:publish-configure`](#csdx-cmstackspublish-configure) -* [`csdx cm:stacks:publish-revert`](#csdx-cmstackspublish-revert) -* [`csdx cm:stacks:seed [--repo ] [--org ] [-k ] [-n ] [-y ] [-s ] [--locale ]`](#csdx-cmstacksseed---repo-value---org-value--k-value--n-value--y-value--s-value---locale-value) -* [`csdx csdx cm:stacks:unpublish [-a ] [-e ] [-c ] [-y] [--locale ] [--branch ] [--retry-failed ] [--bulk-unpublish ] [--content-type ] [--delivery-token ] [--only-assets] [--only-entries]`](#csdx-csdx-cmstacksunpublish--a-value--e-value--c-value--y---locale-value---branch-value---retry-failed-value---bulk-unpublish-value---content-type-value---delivery-token-value---only-assets---only-entries) +* [`csdx cm:stacks:seed [--repo ] [--org ] [--stack-api-key ] [--stack-name ] [-y] [--alias ] [--locale ]`](#csdx-cmstacksseed---repo-value---org-value---stack-api-key-value---stack-name-value--y---alias-value---locale-value) * [`csdx config:get:base-branch`](#csdx-configgetbase-branch) * [`csdx config:get:ea-header`](#csdx-configgetea-header) * [`csdx config:get:early-access-header`](#csdx-configgetearly-access-header) @@ -367,1697 +359,159 @@ DESCRIPTION EXAMPLES $ csdx cm:branches:create - $ csdx cm:branches:create --source main -uid new_branch -k bltxxxxxxxx - - $ csdx cm:branches:create --source main --uid new_branch --stack-api-key bltxxxxxxxx -``` - -_See code: [@contentstack/cli-cm-branches](https://github.com/contentstack/cli/blob/main/packages/contentstack-export/src/commands/cm/branches/create.ts)_ - -## `csdx cm:branches:delete [-uid ] [-k ]` - -Delete a branch - -``` -USAGE - $ csdx cm:branches:delete [-uid ] [-k ] - $ csdx cm:branches:delete [--uid ] [--stack-api-key ] - -FLAGS - -k, --stack-api-key= Stack API key - -y, --yes Force the deletion of the branch by skipping the confirmation - --uid= Branch UID to be deleted - -DESCRIPTION - Delete a branch - -EXAMPLES - $ csdx cm:branches:delete - - $ csdx cm:branches:delete --uid main -k bltxxxxxxxx - - $ csdx cm:branches:delete --uid main --stack-api-key bltxxxxxxxx - - $ csdx cm:branches:delete --uid main --stack-api-key bltxxxxxxxx --yes -``` - -_See code: [@contentstack/cli-cm-branches](https://github.com/contentstack/cli/blob/main/packages/contentstack-export/src/commands/cm/branches/delete.ts)_ - -## `csdx cm:branches:diff [--base-branch ] [--compare-branch ] [-k ][--module ] [--format ] [--csv-path ]` - -Differences between two branches - -``` -USAGE - $ csdx cm:branches:diff [--base-branch ] [--compare-branch ] [-k ][--module ] [--format - ] [--csv-path ] - -FLAGS - -k, --stack-api-key= [optional] Provide the stack API key to show the difference between branches. - --base-branch= [optional] Base branch (Target branch). - --compare-branch= [optional] Compare branch (Source branch). - --csv-path= [optional] Custom path for CSV output file. If not provided, will use the current - working directory. - --format=