Files
openfe/openfecli/plugins.py
David W.H. Swenson ea64274813 CLI Skeleton (#49)
* Initial skeleton for the CLI

Currently requires the OPS CLI to be installed as well; next steps:

1. Add parameter core classes to infrastructure
2. Fully separate infrastructure into its own package

* switch to using plugcli

* tests for CLI

* helps if you add the tests...

* pep8 and deps cleanup

* add test_plugins
2022-02-16 11:46:15 +00:00

13 lines
467 B
Python

# This code is part of OpenFE and is licensed under the MIT license.
# For details, see https://github.com/OpenFreeEnergy/openfe
from plugcli.plugin_management import CommandPlugin
class OFECommandPlugin(CommandPlugin):
def __init__(self, command, section, requires_ofe):
super().__init__(command=command,
section=section,
requires_lib=requires_ofe,
requires_cli=requires_ofe)