mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
feat: parse all quest
This commit is contained in:
1 parent
ed4d04b658
commit
61d1871e95
9 files changed
+77
-18
No files matched your search
@@ -179,9 +179,9 @@ stages:
|
||||
你看到了終端機輸出 `You are lucky!` 這個字串。
|
||||
恭喜你,你已經完成了這個課程!
|
||||
exceptions:
|
||||
condition:
|
||||
command: ^echo help$
|
||||
responses:
|
||||
- content: |
|
||||
你需要先移動到 `commands` 資料夾,再使用相對路徑執行 `lucky` 檔案。
|
||||
請先輸入 `cd commands` 來移動到 `commands` 資料夾,再使用相對路徑 `./lucky` 來執行 `lucky` 檔案。
|
||||
- condition:
|
||||
command: ^echo help$
|
||||
responses:
|
||||
- content: |
|
||||
你需要先移動到 `commands` 資料夾,再使用相對路徑執行 `lucky` 檔案。
|
||||
請先輸入 `cd commands` 來移動到 `commands` 資料夾,再使用相對路徑 `./lucky` 來執行 `lucky` 檔案。
|
||||
@@ -68,3 +68,6 @@ stages:
|
||||
condition:
|
||||
command:
|
||||
- ^echo finish$
|
||||
responses:
|
||||
- content: |
|
||||
恭喜你,你已經完成了這個關卡!
|
||||
@@ -69,9 +69,10 @@ stages:
|
||||
not:
|
||||
pwd:
|
||||
- ^/home/commander$
|
||||
content: |
|
||||
請留在 `/home/commander` 資料夾中。
|
||||
請輸入 `cd ~` 回到 `/home/commander` 資料夾。
|
||||
responses:
|
||||
- content: |
|
||||
請留在 `/home/commander` 資料夾中。
|
||||
請輸入 `cd ~` 回到 `/home/commander` 資料夾。
|
||||
responses:
|
||||
- content: |
|
||||
你現在知道 `folder` 資料夾的內容了。
|
||||
|
||||
Reference in new issue
Block a user