| Crates.io | clwrap |
| lib.rs | clwrap |
| version | 0.3.0 |
| created_at | 2022-12-11 07:00:23.755521+00 |
| updated_at | 2022-12-25 12:08:44.005828+00 |
| description | Command line wrapper for autologin then execute command |
| homepage | https://github.com/yamaura/clwrap |
| repository | https://github.com/yamaura/clwrap |
| max_upload_size | |
| id | 734195 |
| size | 48,928 |
Command line wrapper for autologin then execute command
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
If you want to use clwrap command. You have to enable --features="cmdline" option.