#execute-command #command-line #wrapper #autologin

bin+lib clwrap

Command line wrapper for autologin then execute command

4 releases (2 breaking)

0.3.0 Dec 25, 2022
0.2.1 Dec 20, 2022
0.2.0 Dec 20, 2022
0.1.0 Dec 11, 2022

#76 in #execute-command

MIT/Apache

16KB
295 lines

Command line wrapper for autologin then execute command

How to use

Double dash(--) separated two commands, 1st is spawn commnd to open terminal and then execute command in opened terminal.

For example, use telnet to open terminal then type whoami command in it.

$ clwrap -u [username_to_login] -p [password_to_login] -- telnet [target_host] -- whoami
username_to_login

Compile

If you want to use clwrap command. You have to enable --features="cmdline" option.

Dependencies

~9–43MB
~630K SLoC