Skip to content
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
6 changes: 6 additions & 0 deletions packages/cli-repl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ CLI interface for [MongoDB Shell][mongosh], an extension to Node.js REPL with Mo
--keyVaultNamespace [arg] database.collection to store encrypted FLE parameters
--kmsURL [arg] Test parameter to override the URL of the KMS endpoint

API version options:

--apiVersion [arg] Specifies the API version to connect with
--apiStrict Use strict API version mode
--apiDeprecationErrors Fail deprecated commands for the specified API version

DB Address Examples:

foo Foo database on local machine
Expand Down
6 changes: 6 additions & 0 deletions packages/cli-repl/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ export const USAGE = `
--tlsCertificateSelector [arg] ${i18n.__('cli-repl.args.tlsCertificateSelector')}
--tlsDisabledProtocols [arg] ${i18n.__('cli-repl.args.tlsDisabledProtocols')}

${clr(i18n.__('cli-repl.args.apiVersionOptions'), ['bold', 'yellow'])}

--apiVersion [arg] ${i18n.__('cli-repl.args.apiVersion')}
--apiStrict ${i18n.__('cli-repl.args.apiStrict')}
--apiDeprecationErrors ${i18n.__('cli-repl.args.apiDeprecationErrors')}

${clr(i18n.__('cli-repl.args.fleOptions'), ['bold', 'yellow'])}

--awsAccessKeyId [arg] ${i18n.__('cli-repl.args.awsAccessKeyId')}
Expand Down
4 changes: 4 additions & 0 deletions packages/i18n/src/locales/en_US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ const translations: Catalog = {
tlsAllowInvalidCertificates: 'Allow connections to servers with invalid certificates',
tlsCertificateSelector: 'TLS Certificate in system store (Windows and macOS only)',
tlsDisabledProtocols: 'Comma separated list of TLS protocols to disable [TLS1_0,TLS1_1,TLS1_2]',
apiVersionOptions: 'API version options:',
apiVersion: 'Specifies the API version to connect with',
apiStrict: 'Use strict API version mode',
apiDeprecationErrors: 'Fail deprecated commands for the specified API version',
fleOptions: 'FLE Options:',
awsAccessKeyId: 'AWS Access Key for FLE Amazon KMS',
awsSecretAccessKey: 'AWS Secret Key for FLE Amazon KMS',
Expand Down