Skip to content

Commit

Permalink
api: add an experimental API to load plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
ssato committed Dec 31, 2018
1 parent 2cef825 commit f317468
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions anyconfig/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ def version():
return anyconfig.globals.VERSION.split('.')


def load_plugins():
"""[Re-]Load pluggable parsers.
"""
Parsers().load_plugins()


def list_types():
return Parsers().list_types()

Expand Down

0 comments on commit f317468

Please sign in to comment.