Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dx | 872 | UI text changes #1652

Merged
merged 3 commits into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
119 changes: 34 additions & 85 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions packages/contentstack-audit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ EXAMPLES
$ csdx plugins
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.14/src/commands/plugins/index.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.15/src/commands/plugins/index.ts)_

## `csdx plugins:add PLUGIN`

Expand Down Expand Up @@ -343,7 +343,7 @@ EXAMPLES
$ csdx plugins:inspect myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.14/src/commands/plugins/inspect.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.15/src/commands/plugins/inspect.ts)_

## `csdx plugins:install PLUGIN`

Expand Down Expand Up @@ -392,7 +392,7 @@ EXAMPLES
$ csdx plugins:install someuser/someplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.14/src/commands/plugins/install.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.15/src/commands/plugins/install.ts)_

## `csdx plugins:link PATH`

Expand Down Expand Up @@ -423,7 +423,7 @@ EXAMPLES
$ csdx plugins:link myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.14/src/commands/plugins/link.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.15/src/commands/plugins/link.ts)_

## `csdx plugins:remove [PLUGIN]`

Expand Down Expand Up @@ -464,7 +464,7 @@ FLAGS
--reinstall Reinstall all plugins after uninstalling.
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.14/src/commands/plugins/reset.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.15/src/commands/plugins/reset.ts)_

## `csdx plugins:uninstall [PLUGIN]`

Expand Down Expand Up @@ -492,7 +492,7 @@ EXAMPLES
$ csdx plugins:uninstall myplugin
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.14/src/commands/plugins/uninstall.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.15/src/commands/plugins/uninstall.ts)_

## `csdx plugins:unlink [PLUGIN]`

Expand Down Expand Up @@ -536,5 +536,5 @@ DESCRIPTION
Update installed plugins.
```

_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.14/src/commands/plugins/update.ts)_
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.15/src/commands/plugins/update.ts)_
<!-- commandsstop -->
14 changes: 7 additions & 7 deletions packages/contentstack-auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ USAGE
$ csdx auth:login [-u <value> | --oauth] [-p <value> | ]

FLAGS
-p, --password=<value> Password
-u, --username=<value> User name
-p, --password=<value> Password of your Contentstack app
-u, --username=<value> Email address of your Contentstack account.
--oauth Enables single sign-on (SSO) in Contentstack CLI

DESCRIPTION
Expand Down Expand Up @@ -141,7 +141,7 @@ USAGE
$ csdx auth:tokens:add [-a <value>] [--delivery] [--management] [-e <value>] [-k <value>] [-y] [--token <value>]

FLAGS
-a, --alias=<value> Name of the token alias
-a, --alias=<value> Alias (name) you want to assign to the token
-d, --delivery Set this flag to save delivery token
-e, --environment=<value> Environment name for delivery token
-k, --stack-api-key=<value> Stack API Key
Expand Down Expand Up @@ -187,8 +187,8 @@ USAGE
$ csdx auth:tokens:remove [-a <value>] [-i]

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

DESCRIPTION
Removes selected tokens
Expand Down Expand Up @@ -230,8 +230,8 @@ USAGE
$ csdx login [-u <value> | --oauth] [-p <value> | ]

FLAGS
-p, --password=<value> Password
-u, --username=<value> User name
-p, --password=<value> Password of your Contentstack app
-u, --username=<value> Email address of your Contentstack account.
--oauth Enables single sign-on (SSO) in Contentstack CLI

DESCRIPTION
Expand Down
4 changes: 2 additions & 2 deletions packages/contentstack-auth/src/commands/auth/login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ export default class LoginCommand extends BaseCommand<typeof LoginCommand> {
static flags: FlagInput = {
username: flags.string({
char: 'u',
description: 'User name',
description: 'Email address of your Contentstack account.',
multiple: false,
required: false,
exclusive: ['oauth'],
}),
password: flags.string({
char: 'p',
description: 'Password',
description: 'Password of your Contentstack app',
multiple: false,
required: false,
exclusive: ['oauth'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default class TokensAddCommand extends BaseCommand<typeof TokensAddComman
];

static flags: FlagInput = {
alias: Flags.string({ char: 'a', description: 'Name of the token alias' }),
alias: Flags.string({ char: 'a', description: 'Alias (name) you want to assign to the token' }),
delivery: flags.boolean({
char: 'd',
description: 'Set this flag to save delivery token',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export default class TokensRemoveCommand extends BaseCommand<typeof TokensRemove
static description = 'Removes selected tokens';
static examples = ['$ csdx auth:tokens:remove', '$ csdx auth:tokens:remove -a <alias>'];
static flags: FlagInput = {
alias: flags.string({ char: 'a', description: 'Token alias' }),
ignore: flags.boolean({ char: 'i', description: 'Ignore' }),
alias: flags.string({ char: 'a', description: 'Alias (name) of the token to delete.' }),
ignore: flags.boolean({ char: 'i', description: 'Ignores if the token is not present.' }),
};

async run(): Promise<any> {
Expand Down
Loading
Loading