How to manage f-droid's APPs from termux's terminal?

Such as:

f-droid search trime
f-droid install trime
f-droid remove trime

I only found fdroidcl which use adb install program from PC.

There is already an issue at fdroidcl about this and I also have some ideas how one could implement it. Maybe I’m going to do it in the next days…