Skip to content

Commit

Permalink
fix: main cli entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsanima committed Feb 11, 2023
1 parent 54273aa commit d126691
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 1 addition & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,7 @@ repository = '/~https://github.com/mdsanima-lab/mdsanima-cli.git'
changelog = '/~https://github.com/mdsanima-lab/mdsanima-cli/blob/main/CHANGELOG.md'

[project.scripts]
#mdsanima-cli = 'mdsanima_cli:main_cli'
mdsanima = 'mdsanima_cli:hello_world'

#[project.entry-points.'mdsanima_cli.pixelart']
#pixel = 'mdsanima_cli:main_pixel'
mdsanima = 'mdsanima_cli:main_cli'

[tool.black]
line-length = 79
Expand Down
6 changes: 3 additions & 3 deletions src/mdsanima_cli/__main__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Copyritht © 2023 Marcin Różewski MDSANIMA


"""Main module for command line tools."""
"""Main entry point for command line tools."""


from __future__ import annotations

from . import hello_world
from . import main_cli


if __name__ == "__main__":
hello_world()
main_cli()

0 comments on commit d126691

Please sign in to comment.