Skip to content

Commit 64a924c

Browse files
committed
fixing some issues
1 parent 32f5234 commit 64a924c

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
To run this tool, just type:
44

55
```sh
6-
uvx --from git+https://github.com/pythonpe/edit-python.pe edit_python_pe
6+
uvx --from git+https://github.com/pythonpe/edit-python.pe edit-python-pe
77
```
88

99
After that, a text user interface would appear that allows you to create your

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies = [
1616
]
1717

1818
[project.scripts]
19-
edit-python-pe = "edit_python_pe:main"
19+
edit-python-pe = "main:main"
2020

2121
[build-system]
2222
requires = ["hatchling"]

src/main.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,11 @@ def save_member(self):
341341
self.exit(f"Archivo {name_file}.md guardado, commit realizado y PR creado.")
342342

343343

344+
def main() -> None:
345+
app = MemberFormApp()
346+
app.run()
347+
348+
344349
if __name__ == "__main__":
345350
app = MemberFormApp()
346351
app.run()

0 commit comments

Comments
 (0)