Import/Export CLI?

Hello,

Would it be possible to make scenes (in particular …) exportable/importable via a CLI-style interface or, failing that, via description files (in whatever format is most appropriate)? I have a bunch of identical detectors for which I want to create the same actions/scenes without having to click to create/duplicate/modify, being more comfortable with vi/sed than with the mouse :stuck_out_tongue:

Thanks in advance for your thoughts on the matter,
Have a nice rest of the day,
Jean

Hi @jean_bruder :slight_smile:

In Gladys, everything is API so you can already build yourself a small CLI for this kind of operation.

The API documentation is available here :

Ask an AI to code you a small CLI from that documentation, in my opinion in a single prompt it will give you something that works perfectly, I had already done that last year:

If you need help, don’t hesitate!

1 Like

@jean_bruder So you made it then? :slight_smile: