Skip to content

Commit 61c3808

Browse files
committed
Update
1 parent be9fd51 commit 61c3808

File tree

6 files changed

+15
-0
lines changed

6 files changed

+15
-0
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
install:
22
poetry install
33

4+
brain-games:
5+
poetry run brain-games
6+
47
brain-even:
58
poetry run brain-even
69

0 Bytes
Binary file not shown.

brain_games/scripts/brain_games.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# /usr/bin/env python3
2+
# brain_games/scripts/brain_games.py
3+
from brain_games.cli import welcome_user
4+
5+
6+
def main():
7+
welcome_user()
8+
9+
10+
if __name__== "__main__":
11+
main()
3.02 KB
Binary file not shown.

dist/hexlet_code-0.1.0.tar.gz

1.12 KB
Binary file not shown.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ python = "^3.9"
1313
prompt = "^0.4.1"
1414

1515
[tool.poetry.scripts]
16+
brain-games = "brain_games.scripts.brain_games:main"
1617
brain-even = "brain_games.scripts.brain_even:main"
1718
brain-calc = "brain_games.scripts.brain_calc:main"
1819
brain-gcd = "brain_games.scripts.brain_gcd:main"

0 commit comments

Comments
 (0)