Options
Available options
Currently the only options that exist are to set a token. These are optional as gh-sync also searches for these in your env variables. Tokens set as options take precedence, so if you call gh-sync with --token as an option but have GITHUB_TOKEN_ORIGIN and GITHUB_TOKEN_DESTINATION set, it'll use the one from the option.
token
GITHUB_TOKEN
token-origin
GITHUB_TOKEN_ORIGIN
token-destination
GITHUB_TOKEN_DESTINATION
You can specify token in 2 different ways: token or token-origin + token-destination . If both repos you're using are under the same owner, you can just create 1 token with the necessary permissions and use it for both origin and destination repos. If they're under different owners you'll need to specify each one
Last updated
Was this helpful?