From 6b05687fa584123e0d055e751a9ba92ba6d44702 Mon Sep 17 00:00:00 2001 From: blob42 Date: Sun, 9 Oct 2022 15:53:09 +0200 Subject: [PATCH] readme --- rcargo | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rcargo b/rcargo index 117dbb0..edddbca 100755 --- a/rcargo +++ b/rcargo @@ -6,6 +6,7 @@ Github: https://github.com/sp4ke Description: run cargo commands on a remote workstation/server """ + import argparse from invoke.exceptions import UnexpectedExit from fabric import Connection @@ -21,6 +22,7 @@ DEPS = [ ERR_CMD = 1 ERR_DEPENDENCY = 2 +#TODO: binary and package names might differ: use `cargo install --list to extract bin name` def inst_get_binary(conn, package): bin_path = Path(CARGO_BIN_PATH, package).expanduser() local_path = Path(CARGO_BIN_PATH).expanduser().__str__()+'/'