mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-19 16:54:22 +01:00
7 lines
143 B
Python
7 lines
143 B
Python
from opencode_ai import OpenCodeClient
|
|
|
|
client = OpenCodeClient()
|
|
files = client.file_status() or []
|
|
for f in files:
|
|
print(f.path, f.type)
|