quipus-generate 0.1.16__tar.gz → 0.1.18__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/PKG-INFO +1 -1
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/amautta_project/entity_generator.py +5 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/amautta_project/git_generator.py +5 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/quipus_generate.egg-info/PKG-INFO +1 -1
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/setup.py +1 -1
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/LICENSE +0 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/README.md +0 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/amautta_project/__init__.py +0 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/amautta_project/cli.py +0 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/amautta_project/docker_modified.py +0 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/amautta_project/main_modified.py +0 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/amautta_project/microservice_generator.py +0 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/amautta_project/migration_generator.py +0 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/amautta_project/proyect_generator.py +0 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/amautta_project/readme_modified.py +0 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/amautta_project/site_generator.py +0 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/quipus_generate.egg-info/SOURCES.txt +0 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/quipus_generate.egg-info/dependency_links.txt +0 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/quipus_generate.egg-info/entry_points.txt +0 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/quipus_generate.egg-info/requires.txt +0 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/quipus_generate.egg-info/top_level.txt +0 -0
- {quipus_generate-0.1.16 → quipus_generate-0.1.18}/setup.cfg +0 -0
@@ -1,4 +1,5 @@
|
|
1
1
|
import inflection
|
2
|
+
import sys
|
2
3
|
import os
|
3
4
|
|
4
5
|
def create(name, microservice = None):
|
@@ -397,6 +398,10 @@ def create(name, microservice = None):
|
|
397
398
|
)
|
398
399
|
}
|
399
400
|
|
401
|
+
if microservice is None and not os.path.isfile(f"{os.getcwd()}/Dockerfile"):
|
402
|
+
print("ℹ️ No se encuentra en la carpeta de un microservicio.")
|
403
|
+
sys.exit()
|
404
|
+
|
400
405
|
if microservice is not None:
|
401
406
|
path = f"{microservice}/app/{name}"
|
402
407
|
else:
|
@@ -1,5 +1,6 @@
|
|
1
1
|
from pathlib import Path
|
2
2
|
import subprocess
|
3
|
+
import sys
|
3
4
|
import os
|
4
5
|
|
5
6
|
def run_command(command, cwd=None):
|
@@ -54,6 +55,10 @@ def create(proccess, name):
|
|
54
55
|
".gitignore": gitignore,
|
55
56
|
}
|
56
57
|
|
58
|
+
if os.path.isfile(f"{os.getcwd()}/.gitignore"):
|
59
|
+
print("ℹ️ El proyecto git ya se encuentra inicializado.")
|
60
|
+
sys.exit()
|
61
|
+
|
57
62
|
# Crear archivos
|
58
63
|
for archivo, content in archivos.items():
|
59
64
|
ruta_archivo = os.path.join(name, archivo)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{quipus_generate-0.1.16 → quipus_generate-0.1.18}/quipus_generate.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|