Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
fa848e589This file is pinned to the selected release. Download the original to open it in your design tool.
#!/usr/bin/env python3
# Remote CLI for Flix
from pyflix import Flix
flix = Flix()
flix.on('print', lambda text: print(text, end=''))
while True:
command = input()
flix.cli(command, wait_response=False)