httpie-cli/httpie/plugins/registry.py

22 lines
560 B
Python
Raw Normal View History

from .manager import PluginManager
2021-12-01 18:37:57 +01:00
from .builtin import BasicAuthPlugin, DigestAuthPlugin, BearerAuthPlugin
from ..output.formatters.headers import HeadersFormatter
from ..output.formatters.json import JSONFormatter
from ..output.formatters.xml import XMLFormatter
from ..output.formatters.colors import ColorFormatter
plugin_manager = PluginManager()
# Register all built-in plugins.
plugin_manager.register(
BasicAuthPlugin,
DigestAuthPlugin,
2021-12-01 18:37:57 +01:00
BearerAuthPlugin,
HeadersFormatter,
JSONFormatter,
XMLFormatter,
ColorFormatter,
)