Files
tty7/assets/completions/mongosh.json
T
l0ng-ai 22e1ab1694 tty7: a GPU-rendered, daemon-backed terminal in pure Rust
tty7 is split into two Rust processes: a persistent daemon that owns the
shells and a GPU-rendered client that talks to it over a local socket.
Because the shells live in the daemon, quitting and reopening the app
leaves the session intact — detach and reattach, no tmux required.

- Persistent sessions — the daemon holds the PTYs and child processes, so
  closing a window or swapping in a new build never takes a shell down.
- Performance — an 11 MB `cat` completes in 95 ms and DOOM-fire renders at
  888 fps; the daemon drains the PTY at device speed off the render path.
- Shell-aware — new tabs and splits open in the current working directory;
  zsh, bash, fish, and PowerShell are set up automatically.
- Enhanced prompt — inline completion, syntax highlighting, history, and
  in-terminal search, with rich flag/subcommand signatures for common tools.
- Tabs, resizable splits, a command palette, click-to-open links, desktop
  notifications, eight themes, and CJK/IME input.

Native builds for macOS, Windows, and Linux.
Built on Zed's gpui and Alacritty's VT core.
2026-07-06 21:54:27 +08:00

1 line
8.5 KiB
JSON

{"description":"The MongoDB Shell, mongosh is a fully functional JavaScript and Node.js 14.x REPL environment for interacting with MongoDB deployments","options":[{"names":["-v","--version"],"description":"View your current mongosh version","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--shell"],"description":"Enables the shell interface. If you invoke the mongosh command and specify a JavaScript file as an argument, or use --eval to specify JavaScript on the command line, the --shell option provides the user with a shell prompt after the file finishes executing","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--eval"],"description":"Evaluates a JavaScript expression that is specified as an argument. mongosh does not load its own environment when evaluating code. As a result many options of the shell environment are not available. The result of evaluating a JavaScript argument is printed to your command line","args":[{"name":"javascript","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--help","-h"],"description":"Returns information on the options and use of the MongoDB Shell","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--authenticationDatabase"],"description":"Specifies the authentication database where the specified --username has been created. See Authentication Database","args":[{"name":"dbname","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--gssapiHostName"],"description":"Specify the hostname of a service using GSSAPI/Kerberos. Only required if the hostname of a machine does not match the hostname resolved by DNS","args":[{"name":"hostname","description":"This option is available only in MongoDB Enterprise","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--gssapiServiceName"],"description":"Specify the name of the service using GSSAPI/Kerberos. Only required if the service does not use the default name of mongodb","args":[{"name":"saslServiceName","description":"GssapiServiceName defaults to mongodb for all clients and MongoDB instances. If you change saslServiceName setting on a MongoDB instance, you must set gssapiServiceName to match that setting","optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--password","-p"],"description":"Specifies a password with which to authenticate to a MongoDB database that uses authentication. Use in conjunction with the --username and --authenticationDatabase options","args":[{"name":"password","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--username","-u"],"description":"Specifies a username with which to authenticate to a MongoDB database that uses authentication. Use in conjunction with the --password and --authenticationDatabase options","args":[{"name":"username","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--retryWrites"],"description":"Enables retryable writes as the default for sessions in the MongoDB Shell","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--authenticationMechanism"],"description":"Specifies the authentication mechanism the MongoDB Shell uses to authenticate to the mongod or mongos","args":[{"name":"authentication mechanism","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["SCRAM-SHA-1"],"description":"RFC 5802 standard Salted Challenge Response Authentication Mechanism using the SHA-1 hash function"},{"names":["SCRAM-SHA-256"],"description":"RFC 7677 standard Salted Challenge Response Authentication Mechanism using the SHA-256 hash function"},{"names":["MONGODB-X509"],"description":"MongoDB TLS SSL certificate authentication"},{"names":["GSSAPI (Kerberos)"],"description":"External authentication using Kerberos. This mechanism is available only in MongoDB Enterprise"},{"names":["PLAIN (LDAP SASL)"],"description":"External authentication using LDAP. You can also use PLAIN for authenticating in-database users. PLAIN transmits passwords in plain text. This mechanism is available only in MongoDB Enterprise"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--nodb"],"description":"Prevents the shell from connecting to any database instances","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--norc"],"description":"Prevents the shell from sourcing and evaluating ~/.mongoshrc.js on startup","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--quiet"],"description":"Skips all messages during startup (such as welcome messages and startup warnings) and goes directly to the prompt","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--verbose"],"description":"Increases the verbosity of the shell output during the connection process and when running commands","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--port"],"description":"Specifies the port where the mongod or mongos instance is listening. If --port is not specified, the MongoDB Shell attempts to connect to port 27017","args":[{"name":"port","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["27017"],"description":"Default-port"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--tls"],"description":"Enables connection to a mongod or mongos that has TLS SSL support enabled","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--tlsAllowInvalidHostnames"],"description":"Disables the validation of the hostnames in the certificate presented by the mongod/mongos instance. Allows the MongoDB Shell to connect to MongoDB instances even if the hostname in the server certificates do not match the server's host","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--tlsAllowInvalidCertificates"],"description":"Bypasses the validation checks for the certificates presented by the mongod/mongos instance and allows connections to servers that present invalid certificates","args":[],"required":false,"repeatable":false,"hidden":false},{"names":["--tlsDisabledProtocols"],"description":"Disables the specified TLS protocols","args":[{"name":"protocols","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[{"names":["TLS1_0"],"description":null},{"names":["TLS1_1"],"description":null},{"names":["TLS1_2"],"description":null},{"names":["TLS1_3"],"description":"(Starting in version 4.0.4, 3.6.9, 3.4.24)"}],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--tlsCAFile"],"description":"Specifies the .pem file that contains the root certificate chain from the Certificate Authority. This file is used to validate the certificate presented by the mongod/mongos instance","args":[{"name":"filePath","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--tlsCRLFile"],"description":"Specifies the .pem file that contains the root certificate chain from the Certificate Authority. This file is used to validate the certificate presented by the mongod/mongos instance","args":[{"name":"filePath","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false},{"names":["--tlsCertificateKeyFile"],"description":"Enables connection to a mongod or mongos that has TLS SSL support enabled","args":[{"name":"filePath","description":null,"optional":false,"variadic":false,"template":[],"suggestions":[],"generators":[]}],"required":false,"repeatable":false,"hidden":false}],"args":[{"name":"Connection String","description":null,"optional":true,"variadic":false,"template":[],"suggestions":[{"names":["mongodb://localhost:27017"],"description":"Default Connection String; Equivalent to running mongosh without any commands"},{"names":["mongodb+srv://cluster0.example.mongodb.net/sample_geospatial"],"description":"Atlas Connection String Example"}],"generators":[]}],"subcommands":[],"name":"mongosh"}