@oaysus/cli 0.1.14 → 0.1.15
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 +35 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
Watch how fast you can go from code to a published website with Oaysus.
|
|
54
54
|
|
|
55
55
|
```bash
|
|
56
|
-
oaysus init
|
|
57
|
-
oaysus push
|
|
56
|
+
oaysus theme init # Pick your framework. Name your project.
|
|
57
|
+
oaysus theme push # Your component builds and deploys in seconds.
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
No build pipelines. No complex deployments. Your marketing team creates pages visually, and you get back to building features.
|
|
@@ -74,13 +74,13 @@ Requires Node.js 20 or higher.
|
|
|
74
74
|
oaysus login
|
|
75
75
|
|
|
76
76
|
# 2. Create a new theme pack project
|
|
77
|
-
oaysus init my-components
|
|
77
|
+
oaysus theme init my-components
|
|
78
78
|
|
|
79
79
|
# 3. Navigate to the project
|
|
80
80
|
cd my-components
|
|
81
81
|
|
|
82
82
|
# 4. Push your components to Oaysus
|
|
83
|
-
oaysus push
|
|
83
|
+
oaysus theme push
|
|
84
84
|
```
|
|
85
85
|
|
|
86
86
|
That's it. Your components are now available in the visual page builder.
|
|
@@ -148,16 +148,39 @@ Marketing edits these props in the visual editor. You never touch the code again
|
|
|
148
148
|
|
|
149
149
|
## Commands
|
|
150
150
|
|
|
151
|
+
### Theme Pack Commands
|
|
152
|
+
|
|
153
|
+
Build and manage reusable component libraries.
|
|
154
|
+
|
|
155
|
+
| Command | Description |
|
|
156
|
+
|---------|-------------|
|
|
157
|
+
| `oaysus theme init` | Create a new theme pack project |
|
|
158
|
+
| `oaysus theme create` | Add a component to your theme pack |
|
|
159
|
+
| `oaysus theme validate` | Validate theme pack structure |
|
|
160
|
+
| `oaysus theme push` | Build and upload to Oaysus |
|
|
161
|
+
| `oaysus theme delete` | Delete a theme pack from Oaysus |
|
|
162
|
+
|
|
163
|
+
### Site Commands
|
|
164
|
+
|
|
165
|
+
Manage website pages and content.
|
|
166
|
+
|
|
167
|
+
| Command | Description |
|
|
168
|
+
|---------|-------------|
|
|
169
|
+
| `oaysus site init` | Create a new website project |
|
|
170
|
+
| `oaysus site validate` | Validate pages against installed components |
|
|
171
|
+
| `oaysus site publish` | Publish pages to your website |
|
|
172
|
+
| `oaysus site pull` | Download pages from server to local files |
|
|
173
|
+
|
|
174
|
+
### Global Commands
|
|
175
|
+
|
|
176
|
+
Authentication and account management.
|
|
177
|
+
|
|
151
178
|
| Command | Description |
|
|
152
179
|
|---------|-------------|
|
|
153
|
-
| `oaysus
|
|
154
|
-
| `oaysus
|
|
155
|
-
| `oaysus
|
|
156
|
-
| `oaysus
|
|
157
|
-
| `oaysus push` | Build and upload to Oaysus |
|
|
158
|
-
| `oaysus login` | Authenticate with Oaysus |
|
|
159
|
-
| `oaysus logout` | Clear authentication |
|
|
160
|
-
| `oaysus whoami` | Display current user |
|
|
180
|
+
| `oaysus login` | Authenticate with your Oaysus account |
|
|
181
|
+
| `oaysus whoami` | Display current user information |
|
|
182
|
+
| `oaysus switch` | Switch between your websites |
|
|
183
|
+
| `oaysus logout` | Clear authentication tokens |
|
|
161
184
|
|
|
162
185
|
## Project Structure
|
|
163
186
|
|