@codemieai/cdk 0.1.631 → 0.1.633
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 +19 -0
- package/dist/cli/index.js +859 -429
- package/dist/index.d.ts +10 -24
- package/dist/index.js +739 -354
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -169,14 +169,33 @@ codemie --help
|
|
|
169
169
|
# Deploy resources
|
|
170
170
|
codemie deploy
|
|
171
171
|
codemie deploy --prune
|
|
172
|
+
codemie deploy --skip-datasources
|
|
172
173
|
|
|
173
174
|
# Other commands
|
|
174
175
|
codemie backup
|
|
175
176
|
codemie destroy --force
|
|
176
177
|
codemie preview
|
|
177
178
|
codemie validate --check-api
|
|
179
|
+
|
|
180
|
+
# Import a single resource from the Codemie platform
|
|
181
|
+
codemie import <type> <slug>
|
|
182
|
+
codemie import assistant my-assistant
|
|
183
|
+
codemie import workflow 11111111-1111-1111-1111-111111111111
|
|
184
|
+
codemie import assistant my-assistant --update # refresh an already-managed resource in place
|
|
185
|
+
# <type> is one of: assistant, datasource, workflow, skill
|
|
186
|
+
# <slug> is a resource slug or name; for assistant and workflow it may also be a platform UUID
|
|
187
|
+
|
|
188
|
+
# Run a command from a subdirectory of the project, or against another project entirely
|
|
189
|
+
codemie validate --root-dir ../another-project
|
|
178
190
|
```
|
|
179
191
|
|
|
192
|
+
**Note:** Every command finds the project root automatically by walking up from the current
|
|
193
|
+
directory looking for `codemie.yaml`, so you can run `codemie` from any subdirectory of your
|
|
194
|
+
project. Pass `-d, --root-dir <path>` to point at a different project root instead. `codemie init`
|
|
195
|
+
never auto-detects an existing project - it always scaffolds in the current directory unless
|
|
196
|
+
`-d` is given. `-c, --config` and `-d, --root-dir` are independent: a `-c` file wins only where it
|
|
197
|
+
declares `rootDir` itself, otherwise an explicit `-d` still applies.
|
|
198
|
+
|
|
180
199
|
**For local development**, npm scripts provide convenient shortcuts:
|
|
181
200
|
```bash
|
|
182
201
|
npm run deploy # → codemie deploy
|