Skip to content

Commit

Permalink
Remove script mode of the clients.
Browse files Browse the repository at this point in the history
  • Loading branch information
hraberg committed Feb 1, 2024
1 parent 143c668 commit 4819eed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
6 changes: 0 additions & 6 deletions clients/javascript/endb.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env node

// MIT License

// Copyright (c) 2023-2024 Håkan Råberg and Steven Deobald
Expand Down Expand Up @@ -209,7 +207,3 @@ class EndbWebSocket {
}

export { Endb, EndbWebSocket };

if (typeof process !== 'undefined' && import.meta.url === `file://${process.argv[1]}`) {
console.log(await new Endb().sql(process.argv[2]));
}
7 changes: 0 additions & 7 deletions clients/python/endb.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

# MIT License

# Copyright (c) 2023-2024 Håkan Råberg and Steven Deobald
Expand Down Expand Up @@ -145,8 +143,3 @@ async def sql(self, q, p=[], m=False, accept=None):

except ModuleNotFoundError:
pass

if __name__ == '__main__':
import sys
if len(sys.argv) > 1:
print(Endb().sql(sys.argv[1]))

0 comments on commit 4819eed

Please sign in to comment.