Keep backwards compatability by going back to "--token" for classic.

Allow "file://" uri for "--token-fine".
This commit is contained in:
Halvor Holsten Strand
2023-09-29 14:01:53 +02:00
parent 61275c61b2
commit f12b877509
2 changed files with 11 additions and 4 deletions

View File

@@ -58,9 +58,10 @@ CLI Usage is as follows::
-p PASSWORD, --password PASSWORD
password for basic auth. If a username is given but
not a password, the password will be prompted for.
-f TOKEN_FINE, --token-fine TOKEN
fine-grained personal access token
-t TOKEN_CLASSIC, --token-classic TOKEN
-f TOKEN_FINE, --token-fine TOKEN_FINE
fine-grained personal access token or path to token
(file://...)
-t TOKEN_CLASSIC, --token TOKEN_CLASSIC
personal access, OAuth, or JSON Web token, or path to
token (file://...)
--as-app authenticate as github app instead of as a user.