dmddl 0.2.14__py3-none-any.whl → 0.2.15__py3-none-any.whl

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.
dmddl/cli.py CHANGED
@@ -94,12 +94,14 @@ def main():
94
94
  api_key=api_key,
95
95
  prompt=user_prompt)
96
96
  write_output_file(response)
97
- syntax = Syntax(response, 'sql', line_numbers=True)
98
97
  print("\n\n[yellow bold]OUTPUT.TXT\n",)
99
- console.print(syntax)
100
98
  if success:
99
+ syntax = Syntax(response, 'sql', line_numbers=True)
100
+ console.print(syntax)
101
101
  print("[green bold] Your DML script is ready! Check output.txt")
102
102
  if not success:
103
+ syntax = Syntax(response, 'python', line_numbers=True)
104
+ console.print(syntax)
103
105
  print("[red bold] Error has occurred... Check output.txt")
104
106
 
105
107
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: dmddl
3
- Version: 0.2.14
3
+ Version: 0.2.15
4
4
  Summary: cli tool for creating insert script from ddl script
5
5
  License: MIT
6
6
  Author: HoJLter
@@ -1,12 +1,12 @@
1
1
  dmddl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- dmddl/cli.py,sha256=Tt8ftijUnkiUP2zFp2jCy0dvwwlVaa2VIJIVnyAc15A,3312
2
+ dmddl/cli.py,sha256=h8FMphzSo1koBqSqq1rPV_qNeDmPLuEnvPEshEJt20Q,3431
3
3
  dmddl/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  dmddl/config/settings.py,sha256=tzxldPnnVv1Shu32XljVO2VuHza43zr61zFcMM_bxvg,1341
5
5
  dmddl/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  dmddl/models/llm.py,sha256=-0e9tyMXki4t9R-zKEqcNveFbwKhJmMxOVR7VkhMv7g,851
7
7
  dmddl/models/prompt.py,sha256=7cjWC-mQJR32jc0a0GsyoYDZWROB57Yk4Wy4nRsiFoM,1923
8
- dmddl-0.2.14.dist-info/entry_points.txt,sha256=87tyUAFcB9RYRLhYyxroZxcTho-o3IGXnMM4uMGKdV4,40
9
- dmddl-0.2.14.dist-info/LICENSE,sha256=C--Tlk2EXyLEz1DSTQFKOo-WblCPTsxPcd8t63NCauw,1090
10
- dmddl-0.2.14.dist-info/METADATA,sha256=KI_sJ3SC0hAWmYh3PQXXKMUtiCVYMHvq6ESMaWiUzX8,935
11
- dmddl-0.2.14.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
12
- dmddl-0.2.14.dist-info/RECORD,,
8
+ dmddl-0.2.15.dist-info/entry_points.txt,sha256=87tyUAFcB9RYRLhYyxroZxcTho-o3IGXnMM4uMGKdV4,40
9
+ dmddl-0.2.15.dist-info/LICENSE,sha256=C--Tlk2EXyLEz1DSTQFKOo-WblCPTsxPcd8t63NCauw,1090
10
+ dmddl-0.2.15.dist-info/METADATA,sha256=0ppg2XhSlcwiNarI9pi_MQUm2AggVzT-VgQDjokCVm0,935
11
+ dmddl-0.2.15.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
12
+ dmddl-0.2.15.dist-info/RECORD,,
File without changes