1
0
mirror of https://github.com/httpie/cli.git synced 2024-12-02 08:52:00 +02:00
httpie-cli/httpie/plugins/registry.py
2020-05-26 10:07:34 +02:00

19 lines
496 B
Python

from httpie.plugins.manager import PluginManager
from httpie.plugins.builtin import BasicAuthPlugin, DigestAuthPlugin
from httpie.output.formatters.headers import HeadersFormatter
from httpie.output.formatters.json import JSONFormatter
from httpie.output.formatters.colors import ColorFormatter
plugin_manager = PluginManager()
# Register all built-in plugins.
plugin_manager.register(
BasicAuthPlugin,
DigestAuthPlugin,
HeadersFormatter,
JSONFormatter,
ColorFormatter,
)