toolbox/projtool.pl: add urls subcommand
commit4ab2d17b2b1cb936f99fdb9fd640b00f99cca4a9
authorKyle J. McKay <mackyle@gmail.com>
Sun, 27 Jun 2021 21:40:15 +0000 (27 14:40 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 27 Jun 2021 21:40:15 +0000 (27 14:40 -0700)
tree8a06db01d8d09b62b56fe091b6e031aa75718a32
parent98a852aadbecde4c0006ddb2c7d9af53914f7591
toolbox/projtool.pl: add urls subcommand

Add a convenient "urls" subcommand to display the various Git
fetch/push URLs that are available for a project and would be
shown by gitweb.cgi thereby making this information easily
obtainable directly from the command line.

As a convenience allow the URLs to be limited to only "push"
URLs with the --push option.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
toolbox/projtool.pl