mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-07 03:35:24 +00:00
feat(library): show plugins
This commit is contained in:
parent
adb4c2f845
commit
a4d0ccc34e
@ -40,10 +40,14 @@ def display_libraries(libraries):
|
|||||||
"\n".join(
|
"\n".join(
|
||||||
f"{folder['id']}: {folder['path']}" for folder in library["folders"]
|
f"{folder['id']}: {folder['path']}" for folder in library["folders"]
|
||||||
),
|
),
|
||||||
|
"\n".join(
|
||||||
|
f"{plugin['id']}: {plugin['name']} {plugin['webhook_url']}"
|
||||||
|
for plugin in library["plugins"]
|
||||||
|
),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
print(tabulate(table, headers=["ID", "Name", "Folders"], tablefmt="plain"))
|
print(tabulate(table, headers=["ID", "Name", "Folders", "Plugins"], tablefmt="plain"))
|
||||||
|
|
||||||
|
|
||||||
@app.command()
|
@app.command()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user