@mo7yw4ng/openape-darwin-arm64 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/bin/mod.ts +1 -1
- package/bin/openape +0 -0
- package/bin/skills/openape/SKILL.md +5 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,6 +66,7 @@ openape quizzes submit <attempt-id> # 送出目前已儲存的測驗
|
|
|
66
66
|
openape materials list <course-id> # 列出指定課程教材
|
|
67
67
|
openape materials list-all # 列出所有可下載教材
|
|
68
68
|
openape materials download <id> # 下載指定教材 (支援 --output-dir)
|
|
69
|
+
openape materials download-file <course-id> <query> # 依檔名/folder/name/cmid 下載單一教材
|
|
69
70
|
openape materials download-all # 批次下載教材 (支援 --output-dir, --level)
|
|
70
71
|
openape materials complete <id> # 標記教材為已完成
|
|
71
72
|
openape materials complete-all # 批次標記教材為已完成
|
|
@@ -137,4 +138,4 @@ cargo run -- --help
|
|
|
137
138
|
|
|
138
139
|
此專案之版權規範採用 **MIT License** - 至 [LICENSE](LICENSE) 查看更多相關聲明
|
|
139
140
|
|
|
140
|
-
> **免責聲明**:本工具為非官方開放原始碼專案,與中原大學官方無關。請斟酌使用腳本輔助功能,避免不當操作(如短時間發送大量請求修改系統狀態)而違反學術倫理或導致帳號遭封鎖。
|
|
141
|
+
> **免責聲明**:本工具為非官方開放原始碼專案,與中原大學官方無關。請斟酌使用腳本輔助功能,避免不當操作(如短時間發送大量請求修改系統狀態)而違反學術倫理或導致帳號遭封鎖。
|
package/bin/mod.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version: string = "2.1.
|
|
1
|
+
export const version: string = "2.1.3";
|
package/bin/openape
CHANGED
|
Binary file
|
|
@@ -23,6 +23,9 @@ metadata:
|
|
|
23
23
|
> # Or use flags (not recommended for security reasons)
|
|
24
24
|
> openape login --id <student-id> --password <password>
|
|
25
25
|
> ```
|
|
26
|
+
>
|
|
27
|
+
> If stored credentials already exist but the WS token is missing or expired,
|
|
28
|
+
> run `openape login` first to refresh the session before other commands.
|
|
26
29
|
|
|
27
30
|
```bash
|
|
28
31
|
openape <command> [subcommand] [args] [flags]
|
|
@@ -66,6 +69,7 @@ openape <command> [subcommand] [args] [flags]
|
|
|
66
69
|
- `list <course-id>` — List materials in a course
|
|
67
70
|
- `list-all` — List all materials across courses. Flags: `--level in_progress|all`
|
|
68
71
|
- `download <course-id>` — Download all materials from a course
|
|
72
|
+
- `download-file <course-id> <query>` — Download one material matching filename, folder/name, or cmid. Flags: `--output-dir <path>`
|
|
69
73
|
- `download-all` — Download all materials from all courses. Flags: `--output-dir <path>`
|
|
70
74
|
- `complete <course-id>` — Mark all incomplete resources (non-video) as complete
|
|
71
75
|
- `complete-all` — Mark all incomplete resources across all in-progress courses
|
|
@@ -135,4 +139,4 @@ openape --help
|
|
|
135
139
|
|
|
136
140
|
# Inspect a command's subcommands and options
|
|
137
141
|
openape <command> --help
|
|
138
|
-
```
|
|
142
|
+
```
|