contextsql-garvit 0.1.1__tar.gz → 0.1.3__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.
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/PKG-INFO +1 -1
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql/cli.py +4 -1
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql_garvit.egg-info/PKG-INFO +1 -1
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/pyproject.toml +1 -1
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/README.md +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql/__init__.py +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql/agent.py +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql/autoglossary.py +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql/config.py +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql/db.py +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql/feedback.py +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql/glossary.py +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql/hints.py +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql/introspect.py +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql/learn.py +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql/names.py +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql/phrasing.py +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql/prompt.py +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql/retrieve.py +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql_garvit.egg-info/SOURCES.txt +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql_garvit.egg-info/dependency_links.txt +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql_garvit.egg-info/entry_points.txt +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql_garvit.egg-info/requires.txt +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql_garvit.egg-info/top_level.txt +0 -0
- {contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/setup.cfg +0 -0
|
@@ -93,9 +93,12 @@ def cmd_ask(a):
|
|
|
93
93
|
while True:
|
|
94
94
|
q = input("\n> ").strip()
|
|
95
95
|
if not q: break
|
|
96
|
+
if q.lower() in ("cls", "clear", "/cls", "/clear"):
|
|
97
|
+
os.system("cls" if os.name == "nt" else "clear"); continue
|
|
96
98
|
if q.startswith("/") or q.startswith("contextsql "):
|
|
97
99
|
try:
|
|
98
|
-
|
|
100
|
+
cmd = q[1:] if q.startswith("/") else q[11:]
|
|
101
|
+
main(["fix", cmd[4:].strip()] if cmd.startswith("fix ") else shlex.split(cmd))
|
|
99
102
|
except SystemExit as e:
|
|
100
103
|
print(e.code if isinstance(e.code, str) else "")
|
|
101
104
|
continue
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql_garvit.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql_garvit.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
{contextsql_garvit-0.1.1 → contextsql_garvit-0.1.3}/contextsql_garvit.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|