mise token forgejo
- 用法:
mise token forgejo [--unmask] [HOST] - 效果: 只读
- 源代码:
src/cli/token/forgejo.rs
Show the Forgejo token mise uses for a host
Shows the token and where it came from, to debug authentication. The token is masked unless you pass --unmask.
参数
[HOST]— Forgejo 主机名默认值:
codeberg.org
标志
--unmask— 显示完整的未掩码令牌-h --help— 打印帮助
示例
Show the token for codeberg.org
mise token forgejo
codeberg.org: xxxx…xxxx (source: FORGEJO_TOKEN)Show the whole token
mise token forgejo --unmask
codeberg.org: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (source: FORGEJO_TOKEN)Check a self-hosted Forgejo instance
mise token forgejo forgejo.mycompany.com
forgejo.mycompany.com: (none)