| Crates.io | brightness-cli |
| lib.rs | brightness-cli |
| version | 0.1.1 |
| created_at | 2025-06-10 16:48:54.767511+00 |
| updated_at | 2025-06-10 16:48:54.767511+00 |
| description | A program to read and control device brightness |
| homepage | https://github.com/nik-rev/brightness-cli |
| repository | https://github.com/nik-rev/brightness-cli |
| max_upload_size | |
| id | 1707400 |
| size | 104,832 |
A program to read and control device brightness.
Supported:
brightness-cliThis document contains the help content for the brightness-cli command-line program.
Command Overview:
brightness-cli↴brightness-cli completion↴brightness-cli set↴brightness-cli get↴brightness-cli list↴brightness-cliRead and control device brightness
Usage: brightness-cli <COMMAND>
completion — Generate completions for a shell
set — Set brightness of a device
get — Get brightness of a device
list — List each device and its brightness
brightness-cli completionGenerate completions for a shell
Usage: brightness-cli completion <SHELL>
<SHELL> — Shell to generation completions for
Possible values: bash, carapace, elvish, fig, fish, nushell, powershell, zsh
brightness-cli setSet brightness of a device
Usage: brightness-cli set [OPTIONS] [ACTION]
<ACTION> — Modify the percentage of brightness
Default value: 100%
--device <DEVICE> — Set brightness for this device (by default, sets the first device)
-s, --silent — Silence output
--json — Output JSON
brightness-cli getGet brightness of a device
Usage: brightness-cli get [OPTIONS]
--device <DEVICE> — Get brightness of this device (by default, get the first device)
-s, --silent — Silence output
--json — Output JSON
brightness-cli listList each device and its brightness
Usage: brightness-cli list [OPTIONS]
--json — Output JSONcurl --proto '=https' --tlsv1.2 -LsSf https://github.com/nik-rev/brightness-cli/releases/latest/download/brightness-cli-installer.sh | sh
brew install nik-rev/tap/brightness-cli
powershell -ExecutionPolicy Bypass -c "irm https://github.com/nik-rev/brightness-cli/releases/latest/download/brightness-cli-installer.ps1 | iex"
cargo install brightness-cli
nix profile install github:nik-rev/brightness-cli/main