mise token github
- Usage:
mise token github [FLAGS] [HOST] - Source code:
src/cli/token/github.rs
GitHub token
Arguments
[HOST]
GitHub hostname
Default: github.com
Flags
--oauth
[experimental] Resolve only via the native GitHub OAuth source (cache, refresh, or device-code flow), bypassing other token sources
--raw
Print only the token value
--unmask
Show the full unmasked token
Examples:
$ mise token github
github.com: ghp_…xxxx (source: GITHUB_TOKEN)
$ mise token github --unmask
github.com: ghp_xxxxxxxxxxxx (source: GITHUB_TOKEN)
$ mise token github github.mycompany.com
github.mycompany.com: (none)