mirror of
https://github.com/httpie/cli.git
synced 2024-11-25 17:23:25 +01:00
22 lines
560 B
Python
22 lines
560 B
Python
from .manager import PluginManager
|
|
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,
|
|
BearerAuthPlugin,
|
|
HeadersFormatter,
|
|
JSONFormatter,
|
|
XMLFormatter,
|
|
ColorFormatter,
|
|
)
|