1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

Annotate plugins

This commit is contained in:
Jakub Roztocil
2019-08-31 18:33:54 +02:00
parent e8ef5a783f
commit b947d4826a
5 changed files with 57 additions and 38 deletions

View File

@@ -1,6 +1,6 @@
"""
WARNING: The plugin API is still work in progress and will
probably be completely reworked by v1.0.0.
probably be completely reworked in the future.
"""
from httpie.plugins.base import (
@@ -15,8 +15,10 @@ from httpie.output.formatters.colors import ColorFormatter
plugin_manager = PluginManager()
plugin_manager.register(BasicAuthPlugin,
DigestAuthPlugin)
plugin_manager.register(HeadersFormatter,
JSONFormatter,
ColorFormatter)
plugin_manager.register(
BasicAuthPlugin,
DigestAuthPlugin,
HeadersFormatter,
JSONFormatter,
ColorFormatter,
)