@mo7yw4ng/openape-darwin-x64 2.0.8 → 2.0.9
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/bin/mod.ts +1 -1
- package/bin/openape +0 -0
- package/bin/skills/openape/SKILL.md +4 -0
- package/package.json +1 -1
package/bin/mod.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version: string = "2.0.
|
|
1
|
+
export const version: string = "2.0.9";
|
package/bin/openape
CHANGED
|
Binary file
|
|
@@ -100,6 +100,10 @@ openape <command> [subcommand] [args] [flags]
|
|
|
100
100
|
|
|
101
101
|
- `file <file-path>` — Upload a file to Moodle draft area
|
|
102
102
|
|
|
103
|
+
> **Suggested flow:**
|
|
104
|
+
>
|
|
105
|
+
> If an assignment (`assignments submit`) or forum post (`forums post`/`forums reply`) requires a file attachment, first upload the file to the draft area using `upload file <file-path>` to obtain an attachment/file ID. Then pass the ID via `--file-id` (assignments) or `--attachment-id`/`--inline-attachment-id` (forums) when executing the command.
|
|
106
|
+
|
|
103
107
|
### pages — Page operations
|
|
104
108
|
|
|
105
109
|
- `list <course-id>` — List pages in a course (content preview, first 150 chars)
|