Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
390f863
Merge pull request #2624 from contentstack/main
harshitha-cstk Jun 30, 2026
a7b2ef1
Delete issues-jira.yml
Aravind-Kumar-cstk Jun 30, 2026
7d6fd04
docs: comprehensive README audit, package.json standardization, and s…
cs-raj Jul 5, 2026
2707f00
Merge pull request #2635 from contentstack/v2-beta
OMpawar-21 Jul 6, 2026
4193922
Merge branch 'v2-dev' into fix/DX-9364
cs-raj Jul 6, 2026
d96870a
Merge pull request #2632 from contentstack/fix/DX-9364
cs-raj Jul 7, 2026
cb5c04e
fixed snyk issues
Jul 8, 2026
fa84916
reverted pnpm update
Jul 8, 2026
8a5108a
Merge pull request #2636 from contentstack/fix/snyk-issues-0807
shafeeqd959 Jul 8, 2026
1223d08
chore: version bump
Jul 13, 2026
a45abdb
chore: version bump
Jul 13, 2026
718fd88
Merge pull request #2639 from contentstack/beta-bump-prd
naman-contentstack Jul 13, 2026
51e643b
Merge branch 'main' into back-merge/main-dev
Jul 14, 2026
4a81da7
Merge pull request #2641 from contentstack/back-merge/main-dev
naman-contentstack Jul 14, 2026
07ce334
Merge branch 'v2-beta' into backmerge/beta-main
Jul 14, 2026
40bbc48
Merge branch 'development' into backmerge/beta-main
Jul 14, 2026
d666ed7
Merge pull request #2642 from contentstack/backmerge/beta-main
naman-contentstack Jul 14, 2026
eceb954
feat(utilities): register bulk-operations as a progress-supported module
harshitha-cstk Jul 14, 2026
2a0f72e
Merge branch 'v2-dev' into fix/dx-3882
harshitha-cstk Jul 14, 2026
f9acffe
Merge pull request #2643 from contentstack/fix/dx-3882
harshitha-cstk Jul 17, 2026
59c1447
chore: version bump
Jul 19, 2026
628b8cc
Merge pull request #2645 from contentstack/version/bump
naman-contentstack Jul 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 0 additions & 31 deletions .github/workflows/issues-jira.yml

This file was deleted.

6 changes: 2 additions & 4 deletions .talismanrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
fileignoreconfig:
- filename: pnpm-lock.yaml
checksum: ee9df9c1257b50abd000950958fb0ab4fbc5be53c1ff4aee0ad1b2abb54b270c
- filename: packages/contentstack-utilities/src/message-handler.ts
checksum: e7221e8413005b9efe3a230cd91aff130850976addc41c0acb10745a56ec3245
version: '1.0'
checksum: f6e0a217dcb10417062b0f86e43ea8d72ad1d348211fb16651533ea4ff7d8395
version: '1.0'
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CLI supports content management scripts through which you can perform the follow
## Installing CLI
### Prerequisites
Contentstack account
Node.js version 16 or above
Node.js version 22 or above

### Installation
To install CLI on your system, run the below command in your terminal:
Expand Down Expand Up @@ -54,16 +54,16 @@ $ csdx --help
## Namespaces
**auth**: To perform [authentication-related](/packages/contentstack-auth) activities

**cm**: To perform content management activities such as [bulk publish](/packages/contentstack-bulk-publish), [import](/packages/contentstack-import), and [export](/packages/contentstack-export), [export-to-csv] (/packages/contentstack-export-to-csv), [seed] (/packages/contentstack-seed)
**cm**: To perform content management activities such as [bulk operations](/packages/contentstack-bulk-operations), [import](/packages/contentstack-import), and [export](/packages/contentstack-export), [export-to-csv](/packages/contentstack-export-to-csv), [seed](/packages/contentstack-seed)

**help**: To list the helpful commands in CLI

**config**: To set regions and customize them

## Documentation

To get a more detailed documentation for every command, visit the [CLI section](https://www.contentstack.com/docs/developers/cli) in our docs.
To get a more detailed documentation for every command, visit the [CLI section](https://www.contentstack.com/docs/headless-cms/cli) in our docs.

## Useful Plugins

- [Generate TypeScript typings from a Stack](https://github.com/Contentstack-Solutions/contentstack-cli-tsgen)
- [Generate TypeScript typings from a Stack](https://github.com/contentstack/cli-plugins/tree/main/packages/contentstack-cli-tsgen)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
"workspaces": [
"packages/*"
]
}
}
87 changes: 43 additions & 44 deletions packages/contentstack-auth/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @contentstack/cli-auth

It is Contentstack’s CLI plugin to perform authentication-related activities. To get started with authentication, refer to the [CLI’s Authentication documentation](https://www.contentstack.com/docs/developers/cli/authentication)
It is Contentstack’s CLI plugin to perform authentication-related activities. To get started with authentication, refer to the [CLI’s Authentication documentation](https://www.contentstack.com/docs/headless-cms/cli/authentication)

[![License](https://img.shields.io/npm/l/@contentstack/cli)](https://github.com/contentstack/cli/blob/main/LICENSE)

Expand All @@ -18,7 +18,7 @@ $ npm install -g @contentstack/cli-auth
$ csdx COMMAND
running command...
$ csdx (--version)
@contentstack/cli-auth/2.0.0-beta.10 darwin-arm64 node-v22.13.1
@contentstack/cli-auth/2.0.0-beta.15 darwin-arm64 node-v22.21.1
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand All @@ -33,11 +33,11 @@ USAGE
* [`csdx auth:logout`](#csdx-authlogout)
* [`csdx auth:tokens`](#csdx-authtokens)
* [`csdx auth:tokens:add [-a <value>] [--delivery] [--management] [-e <value>] [-k <value>] [-y] [--token <value>]`](#csdx-authtokensadd--a-value---delivery---management--e-value--k-value--y---token-value)
* [`csdx auth:tokens:list`](#csdx-authtokenslist)
* [`csdx auth:tokens:remove`](#csdx-authtokensremove)
* [`csdx auth:whoami`](#csdx-authwhoami)
* [`csdx login`](#csdx-login)
* [`csdx logout`](#csdx-logout)
* [`csdx tokens`](#csdx-tokens)
* [`csdx whoami`](#csdx-whoami)

## `csdx auth:login`
Expand Down Expand Up @@ -102,7 +102,7 @@ _See code: [src/commands/auth/logout.ts](https://github.com/contentstack/cli/blo

## `csdx auth:tokens`

Lists all existing tokens added to the session
Manage authentication tokens for API access

```
USAGE
Expand All @@ -120,13 +120,14 @@ TABLE FLAGS
--sort=<value> Sort the table by a column. Use "-" for descending.

DESCRIPTION
Lists all existing tokens added to the session

ALIASES
$ csdx tokens
Manage authentication tokens for API access

EXAMPLES
$ csdx auth:tokens
$ csdx auth:tokens:list

$ csdx auth:tokens:add --alias mytoken

$ csdx auth:tokens:remove --alias mytoken
```

_See code: [src/commands/auth/tokens/index.ts](https://github.com/contentstack/cli/blob/main/packages/contentstack-auth/src/commands/auth/tokens/index.ts)_
Expand Down Expand Up @@ -177,17 +178,44 @@ EXAMPLES

_See code: [src/commands/auth/tokens/add.ts](https://github.com/contentstack/cli/blob/main/packages/contentstack-auth/src/commands/auth/tokens/add.ts)_

## `csdx auth:tokens:list`

Lists all existing tokens added to the session

```
USAGE
$ csdx auth:tokens:list [--columns <value>] [--sort <value>] [--filter <value>] [--csv] [--no-truncate]
[--no-header] [--output csv|json|yaml]

TABLE FLAGS
--columns=<value> Specify columns to display, comma-separated.
--csv Output results in CSV format.
--filter=<value> Filter rows by a column value (e.g., name=foo).
--no-header Hide table headers in output.
--no-truncate Prevent truncation of long text in columns.
--output=<option> Specify output format: csv, json, or yaml.
<options: csv|json|yaml>
--sort=<value> Sort the table by a column. Use "-" for descending.

DESCRIPTION
Lists all existing tokens added to the session

EXAMPLES
$ csdx auth:tokens:list
```

_See code: [src/commands/auth/tokens/list.ts](https://github.com/contentstack/cli/blob/main/packages/contentstack-auth/src/commands/auth/tokens/list.ts)_

## `csdx auth:tokens:remove`

Removes selected tokens

```
USAGE
$ csdx auth:tokens:remove [-a <value>] [-i]
$ csdx auth:tokens:remove [-a <value>]

FLAGS
-a, --alias=<value> Alias (name) of the token to delete.
-i, --ignore Ignores if the token is not present.

DESCRIPTION
Removes selected tokens
Expand All @@ -202,14 +230,14 @@ _See code: [src/commands/auth/tokens/remove.ts](https://github.com/contentstack/

## `csdx auth:whoami`

Display current users email address
Display current user's email address

```
USAGE
$ csdx auth:whoami

DESCRIPTION
Display current users email address
Display current user's email address

ALIASES
$ csdx whoami
Expand Down Expand Up @@ -276,45 +304,16 @@ EXAMPLES
$ csdx auth:logout --yes
```

## `csdx tokens`

Lists all existing tokens added to the session

```
USAGE
$ csdx tokens [--columns <value>] [--sort <value>] [--filter <value>] [--csv] [--no-truncate]
[--no-header] [--output csv|json|yaml]

TABLE FLAGS
--columns=<value> Specify columns to display, comma-separated.
--csv Output results in CSV format.
--filter=<value> Filter rows by a column value (e.g., name=foo).
--no-header Hide table headers in output.
--no-truncate Prevent truncation of long text in columns.
--output=<option> Specify output format: csv, json, or yaml.
<options: csv|json|yaml>
--sort=<value> Sort the table by a column. Use "-" for descending.

DESCRIPTION
Lists all existing tokens added to the session

ALIASES
$ csdx tokens

EXAMPLES
$ csdx auth:tokens
```

## `csdx whoami`

Display current users email address
Display current user's email address

```
USAGE
$ csdx whoami

DESCRIPTION
Display current users email address
Display current user's email address

ALIASES
$ csdx whoami
Expand Down
14 changes: 9 additions & 5 deletions packages/contentstack-auth/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/cli-auth",
"description": "Contentstack CLI plugin for authentication activities",
"version": "2.0.0-beta.15",
"version": "2.0.0-beta.16",
"author": "Contentstack",
"bugs": "https://github.com/contentstack/cli/issues",
"scripts": {
Expand All @@ -15,8 +15,8 @@
"lint": "eslint src/**/*.ts"
},
"dependencies": {
"@contentstack/cli-command": "~2.0.0-beta.9",
"@contentstack/cli-utilities": "~2.0.0-beta.10",
"@contentstack/cli-command": "~2.0.0-beta.10",
"@contentstack/cli-utilities": "~2.0.0-beta.11",
"@oclif/core": "^4.11.4",
"otplib": "^12.0.1"
},
Expand Down Expand Up @@ -75,5 +75,9 @@
"auth:tokens:remove": "RMVTKN"
}
},
"repository": "contentstack/cli"
}
"repository": {
"type": "git",
"url": "git+https://github.com/contentstack/cli.git",
"directory": "packages/contentstack-auth"
}
}
2 changes: 1 addition & 1 deletion packages/contentstack-auth/src/commands/auth/whoami.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { cliux, log, handleAndLogError, messageHandler } from '@contentstack/cli
import { BaseCommand } from '../../base-command';

export default class WhoamiCommand extends BaseCommand<typeof WhoamiCommand> {
static description = 'Display current users email address';
static description = "Display current user's email address";

static examples = ['$ csdx auth:whoami'];

Expand Down
12 changes: 8 additions & 4 deletions packages/contentstack-command/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@contentstack/cli-command",
"description": "Contentstack CLI plugin for configuration",
"version": "2.0.0-beta.9",
"version": "2.0.0-beta.10",
"author": "Contentstack",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -14,7 +14,7 @@
"lint": "eslint src/**/*.ts"
},
"dependencies": {
"@contentstack/cli-utilities": "~2.0.0-beta.10",
"@contentstack/cli-utilities": "~2.0.0-beta.11",
"contentstack": "^3.27.0",
"@oclif/core": "^4.11.4"
},
Expand Down Expand Up @@ -61,5 +61,9 @@
"bin": "csdx",
"repositoryPrefix": "<%- repo %>/blob/main/packages/contentstack-command/<%- commandPath %>"
},
"repository": "contentstack/cli"
}
"repository": {
"type": "git",
"url": "git+https://github.com/contentstack/cli.git",
"directory": "packages/contentstack-command"
}
}
Loading
Loading