Currently we require the user to create a cardamon.toml file from scratch and include info that is a bit of a pain to add like processor name and processor TDP.
We should add a new command to cardamon called init which takes the user through a very simple setup process. We can use sysinfo and the techpowerup API to get the processor type and TDP to pre-fill the answers (but allow the user to override them if they want to)
After the setup process a new cardamon.toml is created with commented out example [[processes]], [[scenarios]] and [[observations]]
Welcome to Cardamon
Please enter you processor info:
Processor type: AMD Ryzen 7 PRO 6850U
Processor TDP: 65W
Currently we require the user to create a cardamon.toml file from scratch and include info that is a bit of a pain to add like processor name and processor TDP.
We should add a new command to cardamon called
init
which takes the user through a very simple setup process. We can usesysinfo
and the techpowerup API to get the processor type and TDP to pre-fill the answers (but allow the user to override them if they want to)After the setup process a new
cardamon.toml
is created with commented out example [[processes]], [[scenarios]] and [[observations]]