@aurorajs.dev/catalyst-cli 1.0.0 → 1.0.1
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 +25 -25
- package/oclif.manifest.json +34 -34
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# aurora-
|
|
1
|
+
# aurora-catalyst-cli
|
|
2
2
|
|
|
3
3
|
A new CLI generated with oclif
|
|
4
4
|
|
|
5
5
|
[](https://oclif.io)
|
|
6
|
-
[](https://npmjs.org/package/aurora-catalyst-cli)
|
|
7
|
+
[](https://npmjs.org/package/aurora-catalyst-cli)
|
|
8
8
|
|
|
9
9
|
<!-- toc -->
|
|
10
|
-
* [aurora-
|
|
10
|
+
* [aurora-catalyst-cli](#aurora-catalyst-cli)
|
|
11
11
|
* [Usage](#usage)
|
|
12
12
|
* [Commands](#commands)
|
|
13
13
|
* [Command Topics](#command-topics)
|
|
@@ -48,7 +48,7 @@ $ npm install -g @aurorajs.dev/catalyst-cli
|
|
|
48
48
|
$ catalyst COMMAND
|
|
49
49
|
running command...
|
|
50
50
|
$ catalyst (--version)
|
|
51
|
-
@aurorajs.dev/catalyst-cli/1.0.
|
|
51
|
+
@aurorajs.dev/catalyst-cli/1.0.1 darwin-arm64 node-v24.14.0
|
|
52
52
|
$ catalyst --help [COMMAND]
|
|
53
53
|
USAGE
|
|
54
54
|
$ catalyst COMMAND
|
|
@@ -121,24 +121,24 @@ YAML schemas are expected in `./cliter/{bounded_context}/*.aurora.yaml`.
|
|
|
121
121
|
|
|
122
122
|
```bash
|
|
123
123
|
# List configured bounded contexts
|
|
124
|
-
|
|
124
|
+
catalyst sheets list
|
|
125
125
|
|
|
126
126
|
# Validate connection to a spreadsheet
|
|
127
|
-
|
|
127
|
+
catalyst sheets validate --bc iam
|
|
128
128
|
|
|
129
129
|
# Push YAML schemas to Google Sheets
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
catalyst sheets push --bc iam
|
|
131
|
+
catalyst sheets push --all
|
|
132
|
+
catalyst sheets push --all --dry-run
|
|
133
133
|
|
|
134
134
|
# Pull from Google Sheets to YAML files
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
135
|
+
catalyst sheets pull --bc iam
|
|
136
|
+
catalyst sheets pull --all
|
|
137
|
+
catalyst sheets pull --all --no-backup
|
|
138
138
|
|
|
139
139
|
# Show differences between YAML and Sheets
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
catalyst sheets diff --bc iam
|
|
141
|
+
catalyst sheets diff --all --summary
|
|
142
142
|
```
|
|
143
143
|
|
|
144
144
|
Without `--bc` or `--all`, commands prompt interactively for the bounded context.
|
|
@@ -161,16 +161,16 @@ environments:
|
|
|
161
161
|
|
|
162
162
|
```bash
|
|
163
163
|
# Deploy all environments
|
|
164
|
-
|
|
164
|
+
catalyst deploy
|
|
165
165
|
|
|
166
166
|
# Deploy only dev
|
|
167
|
-
|
|
167
|
+
catalyst deploy --env dev
|
|
168
168
|
|
|
169
169
|
# Dry run — show what would be pushed without executing
|
|
170
|
-
|
|
170
|
+
catalyst deploy --dry-run
|
|
171
171
|
|
|
172
172
|
# Custom config path
|
|
173
|
-
|
|
173
|
+
catalyst deploy --env prod -c ../aurora.yaml
|
|
174
174
|
```
|
|
175
175
|
|
|
176
176
|
Internally, the command runs `git push origin {source}:environments/{env}` for each resolved environment.
|
|
@@ -234,22 +234,22 @@ Copy `aurora.example.yaml` to `aurora.yaml` in your project and fill in your val
|
|
|
234
234
|
|
|
235
235
|
```bash
|
|
236
236
|
# Provision all environments (passwords from .env)
|
|
237
|
-
|
|
237
|
+
catalyst provision
|
|
238
238
|
|
|
239
239
|
# Provision only dev
|
|
240
|
-
|
|
240
|
+
catalyst provision --env dev
|
|
241
241
|
|
|
242
242
|
# Provision only prod backend
|
|
243
|
-
|
|
243
|
+
catalyst provision --env prod --target back
|
|
244
244
|
|
|
245
245
|
# Provision only frontend (all environments)
|
|
246
|
-
|
|
246
|
+
catalyst provision --target front
|
|
247
247
|
|
|
248
248
|
# Skip DNS and CI/CD (applies to all plans)
|
|
249
|
-
|
|
249
|
+
catalyst provision --skip-dns --skip-cicd
|
|
250
250
|
|
|
251
251
|
# Pass passwords inline (overrides .env)
|
|
252
|
-
|
|
252
|
+
catalyst provision --ftp-password s3cret --db-password dbpass
|
|
253
253
|
```
|
|
254
254
|
|
|
255
255
|
GitHub secrets and variables are prefixed with `ENV_TARGET_` (e.g., `DEV_BACK_SSH_PRIVATE_KEY`, `PROD_FRONT_SERVER_HOST`).
|
package/oclif.manifest.json
CHANGED
|
@@ -374,32 +374,27 @@
|
|
|
374
374
|
"index.js"
|
|
375
375
|
]
|
|
376
376
|
},
|
|
377
|
-
"
|
|
377
|
+
"keys": {
|
|
378
378
|
"aliases": [],
|
|
379
|
-
"args": {
|
|
380
|
-
|
|
381
|
-
"description": "Name of the project to create.",
|
|
382
|
-
"name": "name",
|
|
383
|
-
"required": true
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
"description": "Create a new Aurora monorepo project.",
|
|
379
|
+
"args": {},
|
|
380
|
+
"description": "Generate RSA private key and public key (defaults to ./backend/.keys)",
|
|
387
381
|
"examples": [
|
|
388
|
-
"<%= config.bin %>
|
|
389
|
-
"<%= config.bin %>
|
|
382
|
+
"<%= config.bin %> <%= command.id %>",
|
|
383
|
+
"<%= config.bin %> <%= command.id %> --out ./keys"
|
|
390
384
|
],
|
|
391
385
|
"flags": {
|
|
392
|
-
"
|
|
393
|
-
"char": "
|
|
394
|
-
"description": "
|
|
395
|
-
"name": "
|
|
396
|
-
"
|
|
397
|
-
"
|
|
386
|
+
"out": {
|
|
387
|
+
"char": "o",
|
|
388
|
+
"description": "Output directory for the key files (default: backend/.keys)",
|
|
389
|
+
"name": "out",
|
|
390
|
+
"hasDynamicHelp": false,
|
|
391
|
+
"multiple": false,
|
|
392
|
+
"type": "option"
|
|
398
393
|
}
|
|
399
394
|
},
|
|
400
395
|
"hasDynamicHelp": false,
|
|
401
396
|
"hiddenAliases": [],
|
|
402
|
-
"id": "
|
|
397
|
+
"id": "keys",
|
|
403
398
|
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
404
399
|
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
405
400
|
"pluginType": "core",
|
|
@@ -409,31 +404,36 @@
|
|
|
409
404
|
"relativePath": [
|
|
410
405
|
"dist",
|
|
411
406
|
"commands",
|
|
412
|
-
"
|
|
407
|
+
"keys",
|
|
413
408
|
"index.js"
|
|
414
409
|
]
|
|
415
410
|
},
|
|
416
|
-
"
|
|
411
|
+
"new": {
|
|
417
412
|
"aliases": [],
|
|
418
|
-
"args": {
|
|
419
|
-
|
|
413
|
+
"args": {
|
|
414
|
+
"name": {
|
|
415
|
+
"description": "Name of the project to create.",
|
|
416
|
+
"name": "name",
|
|
417
|
+
"required": true
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"description": "Create a new Aurora monorepo project.",
|
|
420
421
|
"examples": [
|
|
421
|
-
"<%= config.bin %>
|
|
422
|
-
"<%= config.bin %>
|
|
422
|
+
"<%= config.bin %> new my-project",
|
|
423
|
+
"<%= config.bin %> new my-project --force"
|
|
423
424
|
],
|
|
424
425
|
"flags": {
|
|
425
|
-
"
|
|
426
|
-
"char": "
|
|
427
|
-
"description": "
|
|
428
|
-
"name": "
|
|
429
|
-
"
|
|
430
|
-
"
|
|
431
|
-
"type": "option"
|
|
426
|
+
"force": {
|
|
427
|
+
"char": "f",
|
|
428
|
+
"description": "Overwrite existing directory.",
|
|
429
|
+
"name": "force",
|
|
430
|
+
"allowNo": false,
|
|
431
|
+
"type": "boolean"
|
|
432
432
|
}
|
|
433
433
|
},
|
|
434
434
|
"hasDynamicHelp": false,
|
|
435
435
|
"hiddenAliases": [],
|
|
436
|
-
"id": "
|
|
436
|
+
"id": "new",
|
|
437
437
|
"pluginAlias": "@aurorajs.dev/catalyst-cli",
|
|
438
438
|
"pluginName": "@aurorajs.dev/catalyst-cli",
|
|
439
439
|
"pluginType": "core",
|
|
@@ -443,7 +443,7 @@
|
|
|
443
443
|
"relativePath": [
|
|
444
444
|
"dist",
|
|
445
445
|
"commands",
|
|
446
|
-
"
|
|
446
|
+
"new",
|
|
447
447
|
"index.js"
|
|
448
448
|
]
|
|
449
449
|
},
|
|
@@ -1080,5 +1080,5 @@
|
|
|
1080
1080
|
]
|
|
1081
1081
|
}
|
|
1082
1082
|
},
|
|
1083
|
-
"version": "1.0.
|
|
1083
|
+
"version": "1.0.1"
|
|
1084
1084
|
}
|
package/package.json
CHANGED