ahriman.application.handlers.web package
Submodules
ahriman.application.handlers.web.web module
- class Web
Bases:
Handlerweb server handler
- classmethod run(args: Namespace, repository_id: RepositoryId, configuration: Configuration, *, report: bool) None
callback for command line
- Parameters:
args (argparse.Namespace) – command line args
repository_id (RepositoryId) – repository unique identifier
configuration (Configuration) – configuration instance
report (bool) – force enable or disable reporting
- static extract_arguments(args: Namespace, configuration: Configuration) Iterator[str]
extract list of arguments used for current command, except for command specific ones
- Parameters:
args (argparse.Namespace) – command line args
configuration (Configuration) – configuration instance
- Yields:
str – command line arguments which were used for this specific command