Crates.io | anybar_rs |
lib.rs | anybar_rs |
version | 1.0.14 |
source | src |
created_at | 2015-06-03 12:36:57.711233 |
updated_at | 2021-03-19 16:08:15.139509 |
description | A Rust application for controlling Anybar 0.2.3 |
homepage | |
repository | https://github.com/urschrei/rust_anybar |
max_upload_size | |
id | 2299 |
size | 13,506 |
anybar_rs
is a command-line app for controlling the macOS Anybar application.
$PATH
(e.g. /usr/local/bin
)cargo install anybar_rs
anybar_rs --help
.cargo build --release
from the project roottarget/release/anybar_rs
$PATH
.By default, anybar_rs
assumes that Anybar is bound to localhost on UDP port 1738. Call it like so:
anybar_rs [FLAGS] [OPTIONS] <COMMAND>
FLAGS:
-h
, --help
Prints help information
-V
, --version
Prints version information
OPTIONS:
-p
, --port
ARGS:
COMMAND
The command you wish to send to Anybar
Where COMMAND
is one of the following:
white
red
orange
yellow
green
cyan
blue
purple
black
question
exclamation
quit
Being a stateless protocol, UDP provides no mechanism for checking whether its datagrams arrive.
anybar_rs
will exit with code 0
.command
will print the usage and exit with code 1
.MIT