zarhus / zarhus-issues

The Zarhus issues tracker
1 stars 0 forks source link

Add TUI helper for parsing kas `yml` files #19

Open tym2k1 opened 3 months ago

tym2k1 commented 3 months ago

With current modular approach of parsing multiple kas yml files we could introduce a helper that will allow users to more easily build Zarhus OS images with desired features. The helper should consist of checkboxes and output a kas invocation command with correct yml files as arguments. We could also introduce metadata to our kas.yml files that will specify additional logic if some features are incompatible with one another as there is no way to specify incompatibility in kas.

PLATFORM
---------------
[x] rockchip
[ ] raspberry pi
[ ] some other platform

FEATURES
---
[x] otab
[x] fdo
[ ] webkit

DEBUG
---
[ ] ON/OFF

CURRENT COMMAND
╭────────────────────────────────────────────────────────────────────────────────────────────────╮
│kas-container build meta-zarhus/kas/rokchip.yml:meta-zarhus/kas/otab.yml:meta-zarhus/kas/fdo.yml│
╰────────────────────────────────────────────────────────────────────────────────────────────────╯

Press Enter to Build
tym2k1 commented 3 months ago

It's possible to use existing solutions such as whiptail