Methods
-
static git.email () → {String}
-
Retrieves user's email from Git in the global scope or the project scope (it'll take what Git will use in the current context)
Returns:
String -configured git email or undefined
-
static git.name () → {String}
-
Retrieves user's name from Git in the global scope or the project scope (it'll take what Git will use in the current context)
Returns:
String -configured git name or undefined
-
static github.username () → {Promise}
-
Retrieves GitHub's username from the GitHub API
Returns:
Promise -Resolved with the GitHub username or rejected if unable to get the information