mirror of
https://github.com/OpenFreeEnergy/openfe.git
synced 2026-06-04 14:14:22 +08:00
* 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
13 lines
467 B
Python
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)
|