Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cardamon init command #58

Closed
ohuu opened this issue Jul 1, 2024 · 0 comments · Fixed by #60
Closed

Add cardamon init command #58

ohuu opened this issue Jul 1, 2024 · 0 comments · Fixed by #60
Assignees
Labels
enhancement New feature or request

Comments

@ohuu
Copy link
Collaborator

ohuu commented Jul 1, 2024

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
@ohuu ohuu added the enhancement New feature or request label Jul 1, 2024
@ohuu ohuu assigned seal Jul 1, 2024
@seal seal linked a pull request Jul 4, 2024 that will close this issue
@ohuu ohuu closed this as completed in #60 Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants