gh_username: Get authenticated username

Description Usage Arguments Value See Also Examples

Description

Get the authenticated username associated with a GitHub personal access token. Wraps the authenticated user endpoint of the GitHub API.

Usage

1

Arguments

pat

A GitHub personal access token (PAT).

Value

character, a GitHub username

See Also

gh_pat()

Examples

1

jennybc/githug documentation built on May 19, 2019, 5:05 a.m.