snivilised / pixa

🧙 Directory tree based bulk image processor (Also serves as a working example of how to use extendio, cobrass and arcadia)
MIT License
0 stars 0 forks source link

add interaction #163

Closed plastikfan closed 3 months ago

plastikfan commented 3 months ago

Before we migrate pixa to become a bubbletea program, we need to introduce the concept of an interaction. pixa will be able to work in 1 of 2 ways: 1) linear-text mode: this is akin to a normal cli, ie any text just pops out as and when appropriate. This will be the default mode 2) text-ui: a bubbletea text ui: screen based, where bubbletea manages the ouput via its model/update/view paradigm

We introduce a new --tui option to activate bubbletea screen mode.

The only functionality addressed in this issue is to re-organise the entry code, to enable it to be used the 2 different ways previously described. This will include: