AdnanHodzic / AdnanHodzic/auto-cpufreq

[Feature] Add a --query option to the CLI

未关闭
#621 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
7.8k
派生
357
平均合并
3 天 8 小时
30 天内合并 PR
14

描述

Hello,

Before anything, I'd like to say thank you to everyone who contributed, since this piece of software has immensely improved my XPS 15 battery life without the usual complexity, enabling me to work for much longer hours without charging.

I'm opening this feature request to propose a `--query` option on the CLI to enable users to obtain a specific value in plain text format. The use-cases I have for this is scripting and UI programming (custom widgets, for example). Autocomplete could be leveraged to provide the fields which can be queried.

This could look like :
Command : `auto-cpufreq --query CPUAvg`
Output : `42.67`

If somebody has the time to quickly implement this (I assume it should be pretty straightforward to add), please go ahead; otherwise, I may do it myself in a couple of weeks/months, when I have more time ahead of me to dive into this project.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。