Skip to content

Commit

Permalink
scripts: clean up indentation from help docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonadoni committed Mar 31, 2022
1 parent c9caba7 commit 2205f63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/generate_cli_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
# under the terms of the MIT License; see LICENSE file for more details.
"""REANA client CLI API docs generation."""

from inspect import cleandoc

import click

from reana_client.cli import cli
Expand All @@ -32,7 +34,7 @@ def generate_cli_docs():
print("\n## {}".format(cmd_group.help))
for cmd_obj in cmd_group.commands.values():
print("\n### {}\n".format(cmd_obj.name))
print(cmd_obj.help)
print(cleandoc(cmd_obj.help))


if __name__ == "__main__":
Expand Down

0 comments on commit 2205f63

Please sign in to comment.