@mo7yw4ng/openape-linux-x64 2.1.0 → 2.1.2

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 CHANGED
@@ -31,9 +31,10 @@ npx @mo7yw4ng/openape --help
31
31
  ## 核心指令
32
32
 
33
33
  ### 登入與驗證 (Authentication)
34
- 第一次使用需要登入,會開啟瀏覽器讓你手動完成登入,隨後會快取 Session 供未來使用。
34
+ 第一次使用需先登入,登入成功後會快取 Session,之後可直接執行指令。若 Session 失效,請重新登入。
35
35
  ```bash
36
- openape login # 登入並儲存 session (開啟瀏覽器)
36
+ openape login # 手動登入
37
+ openape login --id <student-id> --password <password> # 登入並儲存帳密 (自動重登)
37
38
  openape status # 檢查當前登入狀態
38
39
  openape logout # 登出並清除 session
39
40
  ```
package/bin/mod.ts CHANGED
@@ -1 +1 @@
1
- export const version: string = "2.1.0";
1
+ export const version: string = "2.1.2";
package/bin/openape CHANGED
Binary file
@@ -16,7 +16,12 @@ metadata:
16
16
  >
17
17
  > ```bash
18
18
  > npm install -g @mo7yw4ng/openape
19
+ >
20
+ > # Manually Login
19
21
  > openape login
22
+ >
23
+ > # Or use flags (not recommended for security reasons)
24
+ > openape login --id <student-id> --password <password>
20
25
  > ```
21
26
 
22
27
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mo7yw4ng/openape-linux-x64",
3
- "version": "2.1.0",
3
+ "version": "2.1.2",
4
4
  "description": "openape binary for linux x64",
5
5
  "os": ["linux"],
6
6
  "cpu": ["x64"],