loganintech / gitpub

A small program to create remote repos from the command line. https://crates.io/crates/gitpub
GNU General Public License v3.0
20 stars 4 forks source link

auto set remote origin to git repo #6

Closed robatipoor closed 5 years ago

loganintech commented 5 years ago

Cool idea. However, I don't think it addresses the use-case of users (like me) who use ssh for their remotes. This is particularly important for work scenarios when git uses public key auth by default. I'd be happy to implement this as an additional global flag but I before that happens I have to convert the structopt CLI setup to a fully-loaded Clap app. This will let me add universal commands more easily.

loganintech commented 5 years ago

Ok, I modified the way the CLI works so that we can add global params. I'll integrate this idea with one of those.

robatipoor commented 5 years ago

Ok thank you i resolve merge conflict

loganintech commented 5 years ago

Hey, I went ahead and added an implementation of this in feature/6. It adds this work behind a CLI param that enables this optionally. Check it out. This is the commit I added it in specifically.

loganintech commented 5 years ago

I'm closing this as it's now implemented in master via #7