Skip to content

Commit 528159c

Browse files
authored
Merge pull request #230 from leapfrogtechnology/fix/update-docs
Update docs to reflect connection id filtering
2 parents 13e93b2 + 3d1342b commit 528159c

File tree

8 files changed

+13
-12
lines changed

8 files changed

+13
-12
lines changed

.github/workflows/build-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
9494
- name: Run release script
9595
env:
96+
GITHUB_TOKEN: ${{ secrets.RIBBY_GITHUB_TOKEN }}
9697
RIBBY_GITHUB_TOKEN: ${{ secrets.RIBBY_GITHUB_TOKEN }}
9798
run: ./release.sh compare_and_release
9899

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ $ npm install -g @leapfrogtechnology/sync-db
4444
$ sync-db COMMAND
4545
running command...
4646
$ sync-db (-v|--version|version)
47-
@leapfrogtechnology/sync-db/2.1.0 linux-x64 node-v20.12.2
47+
@leapfrogtechnology/sync-db/2.1.0 darwin-arm64 node-v20.5.0
4848
$ sync-db --help [COMMAND]
4949
USAGE
5050
$ sync-db COMMAND

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@leapfrogtechnology/sync-db",
33
"description": "Command line utility to synchronize and version control relational database objects across databases",
4-
"version": "2.1.0",
4+
"version": "2.1.1",
55
"license": "MIT",
66
"main": "lib/index.js",
77
"types": "lib/index.d.ts",

src/commands/migrate-latest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ class MigrateLatest extends Command {
1313
static flags = {
1414
'dry-run': flags.boolean({ description: 'Dry run migration.', default: false }),
1515
only: flags.string({
16-
helpValue: 'CONNECTION_ID',
17-
description: 'Filter only a single connection.'
16+
helpValue: 'CONNECTION_ID(s)',
17+
description: 'Filter provided connection(s). Comma separated ids eg: id1,id2'
1818
}),
1919
'connection-resolver': flags.string({
2020
helpValue: 'PATH',

src/commands/migrate-list.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ class MigrateList extends Command {
1111

1212
static flags = {
1313
only: flags.string({
14-
helpValue: 'CONNECTION_ID',
15-
description: 'Filter only a single connection.'
14+
helpValue: 'CONNECTION_ID(s)',
15+
description: 'Filter provided connection(s). Comma separated ids eg: id1,id2'
1616
}),
1717
'connection-resolver': flags.string({
1818
helpValue: 'PATH',

src/commands/migrate-rollback.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ class MigrateRollback extends Command {
1313
static flags = {
1414
'dry-run': flags.boolean({ description: 'Dry run rollback.', default: false }),
1515
only: flags.string({
16-
helpValue: 'CONNECTION_ID',
17-
description: 'Filter only a single connection.'
16+
helpValue: 'CONNECTION_ID(s)',
17+
description: 'Filter provided connection(s). Comma separated ids eg: id1,id2'
1818
}),
1919
'connection-resolver': flags.string({
2020
helpValue: 'PATH',

src/commands/prune.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ class Prune extends Command {
1212
static flags = {
1313
'dry-run': flags.boolean({ description: 'Dry run prune.', default: false }),
1414
only: flags.string({
15-
helpValue: 'CONNECTION_ID',
16-
description: 'Filter only a single connection.'
15+
helpValue: 'CONNECTION_ID(s)',
16+
description: 'Filter provided connection(s). Comma separated ids eg: id1,id2'
1717
}),
1818
'connection-resolver': flags.string({
1919
helpValue: 'PATH',

src/commands/synchronize.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class Synchronize extends Command {
1919
'dry-run': flags.boolean({ description: 'Dry run synchronization.', default: false }),
2020
'skip-migration': flags.boolean({ description: 'Skip running migrations.' }),
2121
only: flags.string({
22-
helpValue: 'CONNECTION_ID',
23-
description: 'Filter only a single connection.'
22+
helpValue: 'CONNECTION_ID(s)',
23+
description: 'Filter provided connection(s). Comma separated ids eg: id1,id2'
2424
}),
2525
'connection-resolver': flags.string({
2626
helpValue: 'PATH',

0 commit comments

Comments
 (0)