2 releases
0.1.1 | Aug 21, 2024 |
---|---|
0.1.0 | Aug 20, 2024 |
#601 in Hardware support
8KB
183 lines
Installation
Download the Termux:API add-on.
You also need to install termux-api
package. To install Run.
pkg i termux-api
Then install the crate
cargo add termuxapi
Usage
Each command in termux-api
is mapped to a function by replacing -
with ::
.
Example
The function equivalent of termux-clipboard-get
would be termux:📋:get
All functions return a Result.
Implemented commands
Not all commands are implemented yet. This is the list of all implemented commands.
Dependencies
~0.7–1.6MB
~35K SLoC