mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
fix: update quest [explore]
This commit is contained in:
1 parent
922100d8da
commit
b792992391
1 file changed
+10
-10
+10
-10
@@ -31,7 +31,7 @@ stages:
|
||||
- start
|
||||
condition:
|
||||
command:
|
||||
- ls
|
||||
- ^ls$
|
||||
exceptions:
|
||||
- condition:
|
||||
not:
|
||||
@@ -62,7 +62,7 @@ stages:
|
||||
- ls
|
||||
condition:
|
||||
pwd:
|
||||
- /home/commander/folder1
|
||||
- ^/home/commander/folder1$
|
||||
exceptions:
|
||||
- condition:
|
||||
command:
|
||||
@@ -73,7 +73,7 @@ stages:
|
||||
`folder1` 的最後是數字 `1` 不是字母 `l`。
|
||||
- condition:
|
||||
pwd:
|
||||
- /home/commander
|
||||
- ^/home/commander$
|
||||
responses:
|
||||
- type: narrative
|
||||
content:
|
||||
@@ -81,7 +81,7 @@ stages:
|
||||
- condition:
|
||||
not:
|
||||
pwd:
|
||||
- /home/commander
|
||||
- ^/home/commander$
|
||||
responses:
|
||||
- type: narrative
|
||||
content: |
|
||||
@@ -105,9 +105,9 @@ stages:
|
||||
- cd-folder1
|
||||
condition:
|
||||
pwd:
|
||||
- /home/commander/folder1
|
||||
- ^/home/commander/folder1$
|
||||
command:
|
||||
- ls
|
||||
- ^ls$
|
||||
responses:
|
||||
- content: |
|
||||
你現在可以看到 `folder1` 資料夾中有兩的檔案,分別是 `file1.txt` 跟 `file2.txt`。
|
||||
@@ -123,7 +123,7 @@ stages:
|
||||
- ls-folder1
|
||||
condition:
|
||||
pwd:
|
||||
- /home/commander
|
||||
- ^/home/commander$
|
||||
responses:
|
||||
- content: |
|
||||
你成功的回到上一層資料夾了。
|
||||
@@ -138,7 +138,7 @@ stages:
|
||||
- cd-..
|
||||
condition:
|
||||
pwd:
|
||||
- /home/commander/folder2
|
||||
- ^/home/commander/folder2$
|
||||
responses:
|
||||
- content: |
|
||||
你成功的進入 `folder2` 資料夾了。
|
||||
@@ -152,7 +152,7 @@ stages:
|
||||
- cd-folder2
|
||||
condition:
|
||||
pwd:
|
||||
- /home/commander/folder2
|
||||
- ^/home/commander/folder2$
|
||||
command:
|
||||
- ^ls$
|
||||
responses:
|
||||
@@ -168,7 +168,7 @@ stages:
|
||||
- ls-folder2
|
||||
condition:
|
||||
pwd:
|
||||
- /home/commander
|
||||
- ^/home/commander$
|
||||
responses:
|
||||
- content: |
|
||||
你成功的回到原本的資料夾了。
|
||||
|
||||
Reference in new issue
Block a user