5386abd250
https://codeberg.org/forgejo-contrib/forgejo-cli Sponsored by: The FreeBSD Foundation Pull Request: https://ron-dev.freebsd.org/FreeBSD/ports/pulls/8
16 lines
341 B
Plaintext
16 lines
341 B
Plaintext
[
|
|
{ type: install
|
|
message: <<EOM
|
|
To authenticate with a Forgejo instance, see:
|
|
fj auth --help
|
|
|
|
For instances that support OAuth (such as codeberg.org):
|
|
fj -H <instance> auth login
|
|
|
|
For other instances, generate an application token at
|
|
https://<instance>/user/settings/applications, then:
|
|
fj -H <instance> auth add-key <user>
|
|
EOM
|
|
}
|
|
]
|