Revert "Feature/flow management cli (#346)"

This reverts commit 3b021720c5.
This commit is contained in:
Cyber MacGeddon 2025-04-25 19:02:08 +01:00
parent 6698ac74d7
commit 3adb3cf59c
39 changed files with 335 additions and 1706 deletions

View file

@ -1,39 +0,0 @@
#!/usr/bin/env python3
import requests
import json
import sys
import base64
url = "http://localhost:8088/api/v1/"
############################################################################
user = "trustgraph"
input = {
"operation": "list",
"user": user,
}
resp = requests.post(
f"{url}librarian",
json=input,
)
print(resp.text)
resp = resp.json()
print(resp)
if "error" in resp:
print(f"Error: {resp['error']}")
sys.exit(1)
# print(resp["response"])
print(resp)
sys.exit(0)
############################################################################