docs: joj3 cli
All checks were successful
build-image / create-empty-commit (push) Successful in 6s
checks / build (push) Successful in 1m12s

This commit is contained in:
张泊明518370910136 2024-09-26 07:58:41 -04:00
parent 9800becc96
commit 03065b0b69
GPG Key ID: D47306D7062CDA9D

View File

@ -92,7 +92,12 @@ Check the `Result` at <https://github.com/criyle/go-judge#rest-api-interface>.
### JOJ3
JOJ3 itself. Currently support CLI argument `-meta-conf` to specify the meta configuration file path. JOJ3 will try to match the commit message by the `regex`, once matched, the configuration file in the `filename` will be load and run the whole process.
JOJ3 itself.
#### CLI arguments
1. `-meta-conf` to specify the meta configuration file path. JOJ3 will try to match the commit message by the `regex`, once matched, the configuration file in the `filename` will be load and run the whole process.
2. `-msg` to specify message to trigger the running. If empty, JOJ3 will use git commit message on HEAD.
### Sample