Skip to content

Commit bffdbf8

Browse files
committed
v4.0.9
1 parent 6913ce8 commit bffdbf8

4 files changed

Lines changed: 30 additions & 27 deletions

File tree

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"packages": [
33
"packages/*"
44
],
5-
"version": "4.0.8"
5+
"version": "4.0.9"
66
}

packages/cli/README.md

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ EXAMPLES
161161
$ datocms cma:call items list --environment my-environment
162162
```
163163

164-
_See code: [src/commands/cma/call.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/cma/call.ts)_
164+
_See code: [src/commands/cma/call.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/cma/call.ts)_
165165

166166
## `datocms cma:docs [RESOURCE] [ACTION]`
167167

@@ -199,7 +199,7 @@ EXAMPLES
199199
$ datocms cma:docs items create --expand "Example: Basic example"
200200
```
201201

202-
_See code: [src/commands/cma/docs.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/cma/docs.ts)_
202+
_See code: [src/commands/cma/docs.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/cma/docs.ts)_
203203

204204
## `datocms cma:script [FILE]`
205205

@@ -298,7 +298,7 @@ EXAMPLES
298298
'.[].api_key'
299299
```
300300

301-
_See code: [src/commands/cma/script.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/cma/script.ts)_
301+
_See code: [src/commands/cma/script.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/cma/script.ts)_
302302

303303
## `datocms environments:destroy ENVIRONMENT_ID`
304304

@@ -326,7 +326,7 @@ DESCRIPTION
326326
Destroys a sandbox environment
327327
```
328328

329-
_See code: [src/commands/environments/destroy.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/environments/destroy.ts)_
329+
_See code: [src/commands/environments/destroy.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/environments/destroy.ts)_
330330

331331
## `datocms environments:fork SOURCE_ENVIRONMENT_ID NEW_ENVIRONMENT_ID`
332332

@@ -361,7 +361,7 @@ DESCRIPTION
361361
Creates a new sandbox environment by forking an existing one
362362
```
363363

364-
_See code: [src/commands/environments/fork.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/environments/fork.ts)_
364+
_See code: [src/commands/environments/fork.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/environments/fork.ts)_
365365

366366
## `datocms environments:list`
367367

@@ -386,7 +386,7 @@ DESCRIPTION
386386
Lists primary/sandbox environments of a project
387387
```
388388

389-
_See code: [src/commands/environments/list.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/environments/list.ts)_
389+
_See code: [src/commands/environments/list.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/environments/list.ts)_
390390

391391
## `datocms environments:primary`
392392

@@ -411,7 +411,7 @@ DESCRIPTION
411411
Returns the name the primary environment of a project
412412
```
413413

414-
_See code: [src/commands/environments/primary.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/environments/primary.ts)_
414+
_See code: [src/commands/environments/primary.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/environments/primary.ts)_
415415

416416
## `datocms environments:promote ENVIRONMENT_ID`
417417

@@ -439,7 +439,7 @@ DESCRIPTION
439439
Promotes a sandbox environment to primary
440440
```
441441

442-
_See code: [src/commands/environments/promote.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/environments/promote.ts)_
442+
_See code: [src/commands/environments/promote.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/environments/promote.ts)_
443443

444444
## `datocms environments:rename ENVIRONMENT_ID NEW_ENVIRONMENT_ID`
445445

@@ -468,7 +468,7 @@ DESCRIPTION
468468
Renames an environment
469469
```
470470

471-
_See code: [src/commands/environments/rename.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/environments/rename.ts)_
471+
_See code: [src/commands/environments/rename.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/environments/rename.ts)_
472472

473473
## `datocms help [COMMAND]`
474474

@@ -519,7 +519,7 @@ DESCRIPTION
519519
Link the current directory to a DatoCMS project and configure it
520520
```
521521

522-
_See code: [src/commands/link.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/link.ts)_
522+
_See code: [src/commands/link.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/link.ts)_
523523

524524
## `datocms login`
525525

@@ -539,7 +539,7 @@ EXAMPLES
539539
$ datocms login
540540
```
541541

542-
_See code: [src/commands/login.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/login.ts)_
542+
_See code: [src/commands/login.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/login.ts)_
543543

544544
## `datocms logout`
545545

@@ -559,7 +559,7 @@ EXAMPLES
559559
$ datocms logout
560560
```
561561

562-
_See code: [src/commands/logout.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/logout.ts)_
562+
_See code: [src/commands/logout.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/logout.ts)_
563563

564564
## `datocms maintenance:off`
565565

@@ -584,7 +584,7 @@ DESCRIPTION
584584
Take a project out of maintenance mode
585585
```
586586

587-
_See code: [src/commands/maintenance/off.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/maintenance/off.ts)_
587+
_See code: [src/commands/maintenance/off.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/maintenance/off.ts)_
588588

589589
## `datocms maintenance:on`
590590

@@ -612,7 +612,7 @@ DESCRIPTION
612612
Put a project in maintenance mode
613613
```
614614

615-
_See code: [src/commands/maintenance/on.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/maintenance/on.ts)_
615+
_See code: [src/commands/maintenance/on.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/maintenance/on.ts)_
616616

617617
## `datocms migrations:new NAME`
618618

@@ -662,7 +662,7 @@ DESCRIPTION
662662
Create a new migration script
663663
```
664664

665-
_See code: [src/commands/migrations/new.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/migrations/new.ts)_
665+
_See code: [src/commands/migrations/new.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/migrations/new.ts)_
666666

667667
## `datocms migrations:run`
668668

@@ -671,11 +671,14 @@ Run migration scripts that have not run yet
671671
```
672672
USAGE
673673
$ datocms migrations:run [--json] [--config-file <value>] [--profile <value>] [--api-token <value>] [--log-level
674-
NONE|BASIC|BODY|BODY_AND_HEADERS] [--log-mode stdout|file|directory] [--source <value>] [--dry-run] [--force
675-
[--fast-fork [--destination <value> | --in-place]]] [--migrations-dir <value>] [--migrations-model <value>]
676-
[--migrations-tsconfig <value>]
674+
NONE|BASIC|BODY|BODY_AND_HEADERS] [--log-mode stdout|file|directory] [--source <value>] [--allow-primary ]
675+
[--dry-run] [--force [--fast-fork [--destination <value> | --in-place]]] [--migrations-dir <value>]
676+
[--migrations-model <value>] [--migrations-tsconfig <value>]
677677
678678
FLAGS
679+
--allow-primary Allow running migrations in-place on the primary environment. Only use for strictly
680+
additive migrations (no data/schema destruction): there is no rollback if the run fails
681+
partway through
679682
--destination=<value> Specify the name of the new forked environment
680683
--dry-run Simulate the execution of the migrations, without making any actual change
681684
--fast-fork Run a fast fork. A fast fork reduces processing time, but it also prevents writing to
@@ -702,7 +705,7 @@ DESCRIPTION
702705
Run migration scripts that have not run yet
703706
```
704707

705-
_See code: [src/commands/migrations/run.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/migrations/run.ts)_
708+
_See code: [src/commands/migrations/run.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/migrations/run.ts)_
706709

707710
## `datocms plugins`
708711

@@ -789,7 +792,7 @@ DESCRIPTION
789792
Lists official DatoCMS CLI plugins
790793
```
791794

792-
_See code: [src/commands/plugins/available.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/plugins/available.ts)_
795+
_See code: [src/commands/plugins/available.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/plugins/available.ts)_
793796

794797
## `datocms plugins:inspect PLUGIN...`
795798

@@ -1043,7 +1046,7 @@ EXAMPLES
10431046
$ datocms projects:list --json
10441047
```
10451048

1046-
_See code: [src/commands/projects/list.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/projects/list.ts)_
1049+
_See code: [src/commands/projects/list.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/projects/list.ts)_
10471050

10481051
## `datocms schema:generate FILENAME`
10491052

@@ -1075,7 +1078,7 @@ DESCRIPTION
10751078
Generate TypeScript definitions for the schema
10761079
```
10771080

1078-
_See code: [src/commands/schema/generate.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/schema/generate.ts)_
1081+
_See code: [src/commands/schema/generate.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/schema/generate.ts)_
10791082

10801083
## `datocms unlink`
10811084

@@ -1096,7 +1099,7 @@ DESCRIPTION
10961099
Unlink the current directory from a DatoCMS project
10971100
```
10981101

1099-
_See code: [src/commands/unlink.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/unlink.ts)_
1102+
_See code: [src/commands/unlink.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/unlink.ts)_
11001103

11011104
## `datocms whoami`
11021105

@@ -1116,5 +1119,5 @@ EXAMPLES
11161119
$ datocms whoami
11171120
```
11181121

1119-
_See code: [src/commands/whoami.ts](https://github.com/datocms/cli/blob/v4.0.8/packages/cli/src/commands/whoami.ts)_
1122+
_See code: [src/commands/whoami.ts](https://github.com/datocms/cli/blob/v4.0.9/packages/cli/src/commands/whoami.ts)_
11201123
<!-- commandsstop -->

packages/cli/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@datocms/cli",
3-
"version": "4.0.8",
3+
"version": "4.0.9",
44
"description": "CLI to interact with DatoCMS APIs",
55
"author": "Stefano Verna <s.verna@datocms.com>",
66
"bin": {

0 commit comments

Comments
 (0)