mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-21 15:44:19 +01:00
👩🔬 refactor: rename repo
This commit is contained in:
11
dev_gpt/options/run/runner.py
Normal file
11
dev_gpt/options/run/runner.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from dev_gpt.apis.jina_cloud import run_locally
|
||||
from dev_gpt.options import validate_folder_is_correct, get_executor_name, get_latest_version_path
|
||||
|
||||
|
||||
class Runner():
|
||||
def run(self, microservice_path):
|
||||
validate_folder_is_correct(microservice_path)
|
||||
executor_name = get_executor_name(microservice_path)
|
||||
latest_version_path = get_latest_version_path(microservice_path)
|
||||
run_locally(executor_name, latest_version_path)
|
||||
|
||||
Reference in New Issue
Block a user