dmddl 0.2.14__tar.gz → 0.2.15__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.
@@ -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,6 +1,6 @@
1
1
  [project]
2
2
  name = "dmddl"
3
- version = "0.2.14"
3
+ version = "0.2.15"
4
4
  description = "cli tool for creating insert script from ddl script"
5
5
  authors = [
6
6
  {name = "HoJLter",email = "hojlter.work@gmail.com"}
@@ -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
 
File without changes
File without changes
File without changes
File without changes