fifthsurprise / gitflone Goto Github PK
View Code? Open in Web Editor NEWForks a github repository, then clones locally
Forks a github repository, then clones locally
Need to check to see if an OAuth token has been generated and placed in a .netrc. Then use that to authenticate instead of having the user enter in a password.
However, if for whatever reason the OAuth token ins unavailable, procedure should be restarted with asking the user for a password again.
Ensure that if the user does have a .netrc file without a gitFlone/github OAuth token in it, that it correctly generates it.
gitFlone will read the OAuth token for github from the user's .netrc file (in Path). However, it should automatically read both the username/password from the file and authenticate.
If the file does not exist or the username/password does not exist in the file, then the user should be prompted to enter in the username and password. Then an OAuth token should get generated and stored in the .netrc file (if it doesn't exist).
Currently, gitFlone requires the username to be in the command-line prompt. This is kind of annoying for the user (since it has to be placed every time).
Instead, gitflone should do one of two things.
1.) Read the username from the .netrc file if it is available
2.) If it is not available, prompt the user for it.
This task should be a predecessor to finishing #2.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.