ara-plugins/ara/plugins/__main__.py
David Moreau Simard 04936f2fe0
Add helper command to determine plugins location
This is the equivalent of the 0.x "python -m ara.setup.callback_plugins"
and "python -m ara.setup.action_plugins".
This allows users to run "python -m ara.plugins" in order to determine
the location of the plugins.

Change-Id: I8fddf3507916ae58c83af5e8400e7f7af83ba98c
2018-12-20 17:50:53 -05:00

22 lines
790 B
Python

# Copyright (c) 2018 Red Hat, Inc.
#
# This file is part of ARA: Ansible Run Analysis.
#
# ARA is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# ARA is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with ARA. If not, see <http://www.gnu.org/licenses/>.
from ara.plugins import LOCATION
if __name__ == "__main__":
print(LOCATION)