Open rebane2001 opened 5 months ago
Previously, the --which-wpull-command flag would replace all occurrences of /grab-site with /wpull, eg /home/grab-site/gs-venv/bin/grab-site became /home/wpull/gs-venv/bin/wpull.
--which-wpull-command
/grab-site
/wpull
/home/grab-site/gs-venv/bin/grab-site
/home/wpull/gs-venv/bin/wpull
This PR fixes that behaviour by using regex instead.
Previously, the
--which-wpull-command
flag would replace all occurrences of/grab-site
with/wpull
, eg/home/grab-site/gs-venv/bin/grab-site
became/home/wpull/gs-venv/bin/wpull
.This PR fixes that behaviour by using regex instead.