Expand description
§Installation
Download the Termux:API add-on.
You also need to install termux-api package. To install Run.
pkg i termux-apiThen 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::clipboard::get
All functions return a Result.
§Implemented commands
Not all commands are implemented yet. This is the list of all implemented commands.