aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/setup.py b/setup.py
index 377d122..a4db127 100644
--- a/setup.py
+++ b/setup.py
@@ -153,5 +153,32 @@ def configure():
cli.add_command(configure)
[email protected](help="Run the project.")
+def run():
+ logger.info("Running project...")
+ os.system("python3 src/texty.py")
+
+
+cli.add_command(run)
+
+
[email protected](help="Start Linter.")
+def lint():
+ logger.info("Starting Linter...")
+ os.system("python3 -m black .")
+
+
+cli.add_command(lint)
+
+
[email protected](help="Start Sorter.")
+def sort():
+ logger.info("Starting Sorter...")
+ os.system("python3 -m isort .")
+
+
+cli.add_command(sort)
+
+
if __name__ == "__main__":
cli()