You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
useful e.g. for westurner/dotfiles/scripts/git-upgrade-remote-to-ssh.sh
functiongit_upgrade_url_to_ssh_pyline {
echo"${@}"| pyline -m urlobject \
'l and ((u.with_scheme("ssh").with_username(u.username or "git")) for u in [urlobject.URLObject(l)])'
}
-u / --url / --urlobject
url = urlobject.URLObject(line)
URL = urlobject.URLObject
for the exprpyline -m urlobject 'urlobject.URL(w[0])
(if URLObject is installed)pyline 'URL(w[0])
pyline "words and URL(w[0])"
)pyline --urlobject 'url'
pyline --urlobject "line and url and url.with_scheme('https')"
)url=URL(words[1]); url
;
semicolon and eval the expr appropriatelye.g. with action='append'
The text was updated successfully, but these errors were encountered: