mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
111 lines
2.0 KiB
YAML
111 lines
2.0 KiB
YAML
exceptions:
|
||
- condition:
|
||
command:
|
||
- '[\uff21-\uff3a\uff41-\uff5a]'
|
||
responses:
|
||
- type: narrative
|
||
content: |
|
||
!! 請使用半形英文字母 !!
|
||
|
||
- condition:
|
||
command:
|
||
- ' '
|
||
responses:
|
||
- type: narrative
|
||
content: |
|
||
!! 請使用半形空格 !!
|
||
|
||
- condition:
|
||
command:
|
||
- echo\S
|
||
responses:
|
||
- type: narrative
|
||
content: |
|
||
!! `echo` 後面要加空格 !!
|
||
|
||
- condition:
|
||
command:
|
||
- cd\S
|
||
responses:
|
||
- type: narrative
|
||
content: |
|
||
!! `cd` 後面要加空格 !!
|
||
|
||
- condition:
|
||
command:
|
||
- ls\S
|
||
responses:
|
||
- type: narrative
|
||
content: |
|
||
!! `ls` 後面要加空格 !!
|
||
|
||
- condition:
|
||
command:
|
||
- cat\S
|
||
responses:
|
||
- type: narrative
|
||
content: |
|
||
!! `cat` 後面要加空格 !!
|
||
|
||
- condition:
|
||
command:
|
||
- touch\S
|
||
responses:
|
||
- type: narrative
|
||
content: |
|
||
!! `touch` 後面要加空格 !!
|
||
|
||
- condition:
|
||
not:
|
||
command:
|
||
- rmdir
|
||
command:
|
||
- rm\S
|
||
responses:
|
||
- type: narrative
|
||
content: |
|
||
!! `rm` 後面要加空格 !!
|
||
|
||
- condition:
|
||
command:
|
||
- mv\S
|
||
responses:
|
||
- type: narrative
|
||
content: |
|
||
!! `mv` 後面要加空格 !!
|
||
|
||
- condition:
|
||
command:
|
||
- mkdir\S
|
||
responses:
|
||
- type: narrative
|
||
content: |
|
||
!! `mkdir` 後面要加空格 !!
|
||
|
||
- condition:
|
||
command:
|
||
- rmdir\S
|
||
responses:
|
||
- type: narrative
|
||
content: |
|
||
!! `rmdir` 後面要加空格 !!
|
||
|
||
- condition:
|
||
command:
|
||
- cp\S
|
||
responses:
|
||
- type: narrative
|
||
content: |
|
||
!! `cp` 後面要加空格 !!
|
||
|
||
- condition:
|
||
or:
|
||
command:
|
||
- 嗨
|
||
command:
|
||
- '[Hh][Ii]'
|
||
responses:
|
||
- type: narrative
|
||
content: |
|
||
- 'Hi~'
|