@ludeo/cli 1.2.1 → 1.2.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 CHANGED
@@ -10,15 +10,20 @@ npm install -g @ludeo/cli
10
10
 
11
11
  Verify the installation:
12
12
  ```bash
13
- ludeo --version
13
+ ludeo version
14
14
  ```
15
15
 
16
16
  ## Quick Start
17
17
 
18
18
  ### 1. Authentication
19
- Get your access token from the Ludeo platform and authenticate:
19
+ Get your access token from the Ludeo platform and save it:
20
20
  ```bash
21
- ludeo auth login --access-token YOUR_ACCESS_TOKEN
21
+ ludeo auth set-token --access-token YOUR_ACCESS_TOKEN
22
+ ```
23
+
24
+ You can also check if a token is saved:
25
+ ```bash
26
+ ludeo auth status
22
27
  ```
23
28
 
24
29
  ### 2. Upload Your Build
@@ -29,7 +34,7 @@ Upload your game build with a simple command. The CLI supports three build creat
29
34
  # With explicit build-creation-type
30
35
  ludeo builds upload \
31
36
  --game-id YOUR_GAME_ID \
32
- --exec-path ./builds/game.exe \
37
+ --exec-path game.exe \
33
38
  --local-directory ./builds \
34
39
  --build-creation-type new \
35
40
  --build-type major \
@@ -40,7 +45,7 @@ ludeo builds upload \
40
45
  # Or simply omit --build-creation-type (defaults to "new")
41
46
  ludeo builds upload \
42
47
  --game-id YOUR_GAME_ID \
43
- --exec-path ./builds/game.exe \
48
+ --exec-path game.exe \
44
49
  --local-directory ./builds \
45
50
  --build-type major \
46
51
  --game-version "1.2.3" \
@@ -51,7 +56,7 @@ ludeo builds upload \
51
56
  ```bash
52
57
  ludeo builds upload \
53
58
  --game-id YOUR_GAME_ID \
54
- --exec-path ./builds/game.exe \
59
+ --exec-path game.exe \
55
60
  --local-directory ./builds \
56
61
  --build-creation-type modification \
57
62
  --build-type minor \
@@ -66,7 +71,7 @@ ludeo builds upload \
66
71
  ```bash
67
72
  ludeo builds upload \
68
73
  --game-id YOUR_GAME_ID \
69
- --exec-path ./builds/game.exe \
74
+ --exec-path game.exe \
70
75
  --local-directory ./builds \
71
76
  --build-creation-type sdkFree \
72
77
  --build-type major \
@@ -96,6 +101,12 @@ ludeo builds list --game-id YOUR_GAME_ID
96
101
 
97
102
  # Get build details
98
103
  ludeo builds get --game-id YOUR_GAME_ID --build-id BUILD_ID
104
+
105
+ # Check if token is saved
106
+ ludeo auth status
107
+
108
+ # Remove saved token when done
109
+ ludeo auth logout
99
110
  ```
100
111
 
101
112
  ## Features
@@ -121,10 +132,10 @@ npm update -g @ludeo/cli
121
132
 
122
133
  - name: Upload Build
123
134
  run: |
124
- ludeo auth login --access-token ${{ secrets.LUDEO_ACCESS_TOKEN }}
135
+ ludeo auth set-token --access-token ${{ secrets.LUDEO_ACCESS_TOKEN }}
125
136
  ludeo builds upload \
126
137
  --game-id ${{ env.GAME_ID }} \
127
- --exec-path ./builds/game.exe \
138
+ --exec-path game.exe \
128
139
  --local-directory ./builds \
129
140
  --build-creation-type new \
130
141
  --build-type major \
@@ -154,7 +165,8 @@ sudo npm install -g @ludeo/cli
154
165
 
155
166
  **Authentication errors:**
156
167
  - Verify your access token is valid
157
- - Check token permissions with `ludeo auth status`
168
+ - Check if token is saved with `ludeo auth status`
169
+ - Make sure you've saved your token with `ludeo auth set-token`
158
170
 
159
171
  **Upload failures:**
160
172
  - Ensure your build directory exists and is readable
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludeo/cli",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "Ludeo CLI - Upload game builds and manage content on the Ludeo platform",
5
5
  "main": "index.js",
6
6
  "bin": {