At the moment, it's challenging to use private git repos as Scaffolds. This change adds two ways to do this:
Allows users to pass SSH endpoints, like git@github.com:smoores-dev/scaffold to scaffold new
Prompts users for HTTP auth credentials (username and password or personal access token) when we receive an authentication required error from the git provider.
The new URL tools are ported straight from go-git, and match the way they check and parse URLs.
At the moment, it's challenging to use private git repos as Scaffolds. This change adds two ways to do this:
git@github.com:smoores-dev/scaffold
toscaffold new
authentication required
error from the git provider.The new URL tools are ported straight from go-git, and match the way they check and parse URLs.
This fixes #97.