.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
2command, 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
7The 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
15import typer
16
17from .. import enginelib
18
19app = typer.Typer()
20app.add_typer(enginelib.app, name="cache", help="Commands related to the cache of the engines.")
21app()