File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,11 @@ $ seml configure [OPTIONS]
162162
163163** Options** :
164164
165+ * ` --host TEXT ` : The host of the MongoDB server.
166+ * ` --port INTEGER ` : The port of the MongoDB server.
167+ * ` --database TEXT ` : The name of the MongoDB database to use.
168+ * ` --username TEXT ` : The username for the MongoDB server.
169+ * ` --password TEXT ` : The password for the MongoDB server.
165170* ` -sf, --ssh-forward ` : Configure SSH forwarding settings for MongoDB.
166171* ` --help ` : Show this message and exit.
167172
Original file line number Diff line number Diff line change 2525P = ParamSpec ('P' )
2626R = TypeVar ('R' )
2727
28+ _DOCS = bool (os .environ .get ('_SEML_DOCS' , False ))
29+
2830
2931# numexpr will log unnecessary info we don't want in our CLI
3032logging .getLogger ('numexpr' ).setLevel (logging .ERROR )
@@ -105,7 +107,7 @@ def first_argument_completer():
105107 # Note that this is not 100% the correct chaining autocompletition
106108 # but it is significantly better than nothing. Compared to the default
107109 # click chaining we greedly split the arguments by any command.
108- chain = AUTOCOMPLETING ,
110+ chain = _DOCS or AUTOCOMPLETING ,
109111)
110112YesAnnotation = Annotated [
111113 bool ,
You can’t perform that action at this time.
0 commit comments