- I wrote a scripts to copy and generate all commands missing in iris from fig repo: https://github.com/withfig/autocomplete - Add a new script to generate commands docs about which commands currently are inside commands folder 377d4aac663590e504fe39a92eb4dac4cbd333b2 - Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
26 lines
1.3 KiB
Go
26 lines
1.3 KiB
Go
package ops
|
|
|
|
import (
|
|
"github.com/versenilvis/iris/commands/core"
|
|
)
|
|
|
|
func init() {
|
|
core.Register(&core.Spec{
|
|
Name: "mongosh",
|
|
Description: "Default Connection String; Equivalent to running mongosh without any commands",
|
|
Options: []core.Option{
|
|
{Name: "-v", Description: "View your current mongosh version"},
|
|
{Name: "--shell", Description: "Returns information on the options and use of the MongoDB Shell"},
|
|
{Name: "--authenticationDatabase", Description: "This option is available only in MongoDB Enterprise"},
|
|
{Name: "--gssapiServiceName", Description: "Enables retryable writes as the default for sessions in the MongoDB Shell"},
|
|
{Name: "--authenticationMechanism", Description: "MongoDB TLS SSL certificate authentication"},
|
|
{Name: "--nodb", Description: "Prevents the shell from connecting to any database instances"},
|
|
{Name: "--norc", Description: "Prevents the shell from sourcing and evaluating ~/.mongoshrc.js on startup"},
|
|
{Name: "--quiet", Description: "Default-port"},
|
|
{Name: "--tls", Description: "Enables connection to a mongod or mongos that has TLS SSL support enabled"},
|
|
{Name: "--tlsAllowInvalidHostnames", Description: "Disables the specified TLS protocols"},
|
|
{Name: "--tlsCAFile", Description: "Enables connection to a mongod or mongos that has TLS SSL support enabled"},
|
|
},
|
|
})
|
|
}
|