→ https://github.com/litetex/pull-detached-remote#inputs
👉 --help
Arguments can be looked up in CmdOption
→ https://github.com/litetex/pull-detached-remote#environment-variables
The program is run with commandline parameters only.
No disk or similar required.
Sample run:
PullDetachedRemote.exe --identitymail=test@test.test --identityuser=\"Test Test\" --prlabels \"upstream\" --clonemode=CLONE_ALWAYS --originrepo=https://github.com/<owner>/forked --originbranch=an-update --upstreamrepo=https://github.com/<owner>/fork-base --upstreambranch=master --GITHUB_PAT=xxx
docker run litetex/pulldetachedremote:develop --identitymail=test@test.test --identityuser=\"Test Test\" --prlabels \"upstream\" --clonemode=CLONE_ALWAYS --originrepo=https://github.com/<owner>/forked --originbranch=an-update --upstreamrepo=https://github.com/<owner>/fork-base --upstreambranch=master --GITHUB_PAT=xxx
The program can also be mainly run with a config file.
Note:
Sample run:
PullDetachedRemote.exe --config config.yml --GITHUB_PAT=xxx
You can also generate a sample configuration file with:
PullDetachedRemote.exe --genconf config.yml
You can also mix
- config file
- parameters
- environment variables
The order how they are set can be found in StartUp.cs