.oO SearXNG Developer Documentation Oo.
Loading...
Searching...
No Matches
__main__.py
Go to the documentation of this file.
1
"""Implementation of a command line for development purposes. To start a
2
command, switch to the environment and run library module as a script::
3
4
$ ./manage pyenv.cmd bash --norc --noprofile
5
(py3) python -m searx.enginelib --help
6
7
The following commands can be used for maintenance and introspection
8
(development) of the engine cache::
9
10
(py3) python -m searx.enginelib cache state
11
(py3) python -m searx.enginelib cache maintenance
12
13
"""
14
15
import
typer
16
17
from
..
import
enginelib
18
19
app = typer.Typer()
20
app.add_typer(enginelib.app, name=
"cache"
, help=
"Commands related to the cache of the engines."
)
21
app
()
searx.enginelib.__main__.app
app
Definition
__main__.py:19
searxng
searx
enginelib
__main__.py
Generated on Thu May 8 2025 19:42:26 for .oO SearXNG Developer Documentation Oo. by
1.13.2