Open sotayamashita opened 9 years ago
If this necessary there is a wrapper module called gh-user
var ghUser = require('gh-user');
ghUser('sindresorhus', function (err, user) {
console.log(user);
//=> { login: 'sindresorhus', id: 170270, ... }
});
It will be like this. @bucaran what do you think, seems interesting?
@sotayamashita @drKraken Cool. So, we get the username from the user and use gh-user
to find the URL. But what's the advantage for generator-fly
exactly?
Thanks!
@bucaran You could get email, websites in such way and not add separate promt for it. But i not like this, it's more dependencies, dependencies => issues in future
@drKraken I see, we do ask for the email, but once you type it once it goes into the cache so you don't have to retype it each time you use the generator. As for the website, by default → github.com/USER_NAME
.
So, while I think this is a nice feature to have, but we can give it low priority for now.
@sotayamashita If this becomes an issue in the future we can refer back to this issue.
:smile:
@drKraken can I implement this feature ?
@sotayamashita Sure. Go for it and send a PR.
@drKraken :+1:
@sotayamashita absolutely
@sotayamashita i don't see any differences, what's a point?
@sotayamashita Updates? :smile:
@bucaran sorry not to develop. I am so busy now but I am developing now.
imo, no real need for this. current flow is very smooth & fast
Like yeoman/generator-generator/app/index.js.