跳转到内容

mise token forgejo ​

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)

相关文档 ​