Skip to content

Commit

Permalink
CLI: Remove loading backend for verdi plugin list
Browse files Browse the repository at this point in the history
This command doesn't need the storage backend and loading it adds
significant unnecessary run time.
  • Loading branch information
sphuber committed Sep 4, 2023
1 parent f272e19 commit 34e564a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions aiida/cmdline/commands/cmd_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import click

from aiida.cmdline.commands.cmd_verdi import verdi
from aiida.cmdline.utils import decorators, echo
from aiida.cmdline.utils import echo
from aiida.plugins.entry_point import ENTRY_POINT_GROUP_TO_MODULE_PATH_MAP


Expand All @@ -25,7 +25,6 @@ def verdi_plugin():
@verdi_plugin.command('list')
@click.argument('entry_point_group', type=click.Choice(list(ENTRY_POINT_GROUP_TO_MODULE_PATH_MAP)), required=False)
@click.argument('entry_point', type=click.STRING, required=False)
@decorators.with_dbenv()
def plugin_list(entry_point_group, entry_point):
"""Display a list of all available plugins."""
from aiida.cmdline.utils.common import print_process_info
Expand Down

0 comments on commit 34e564a

Please sign in to comment.