From 03065b0b69b04c96085fd3c21edf914c96ca3c20 Mon Sep 17 00:00:00 2001 From: Boming Zhang <bomingzh@sjtu.edu.cn> Date: Thu, 26 Sep 2024 07:58:41 -0400 Subject: [PATCH] docs: joj3 cli --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d560d09..8946e8e 100644 --- a/README.md +++ b/README.md @@ -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