Skip to content

Commit

Permalink
👌 CLI dedent pluginlist output
Browse files Browse the repository at this point in the history
  • Loading branch information
s-weigand committed Aug 13, 2021
1 parent 40e742f commit 76489c9
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions glotaran/cli/commands/pluginlist.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from textwrap import dedent

import click

from glotaran.plugin_system.data_io_registration import known_data_formats
Expand All @@ -8,11 +10,13 @@
def plugin_list_cmd():
"""Prints a list of installed plugins."""

output = """
Installed Glotaran Plugins:
output = dedent(
"""
Installed Glotaran Plugins:
Megacomplex Models:
"""
Megacomplex Models:
"""
)
output += "\n"

for name in known_megacomplex_names():
Expand Down

0 comments on commit 76489c9

Please sign in to comment.