mirror of
https://github.com/httpie/cli.git
synced 2024-11-28 10:43:24 +01:00
19 lines
496 B
Python
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,
|
||
|
)
|