Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs to reflect connection id filtering #230

Merged
merged 4 commits into from
May 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ jobs:

- name: Run release script
env:
GITHUB_TOKEN: ${{ secrets.RIBBY_GITHUB_TOKEN }}
RIBBY_GITHUB_TOKEN: ${{ secrets.RIBBY_GITHUB_TOKEN }}
run: ./release.sh compare_and_release

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $ npm install -g @leapfrogtechnology/sync-db
$ sync-db COMMAND
running command...
$ sync-db (-v|--version|version)
@leapfrogtechnology/sync-db/2.1.0 linux-x64 node-v20.12.2
@leapfrogtechnology/sync-db/2.1.0 darwin-arm64 node-v20.5.0
Copy link
Member Author

@mesaugat mesaugat May 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't matter will get replaced in upcoming release as README is updated automatically.

$ sync-db --help [COMMAND]
USAGE
$ sync-db COMMAND
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@leapfrogtechnology/sync-db",
"description": "Command line utility to synchronize and version control relational database objects across databases",
"version": "2.1.0",
"version": "2.1.1",
"license": "MIT",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/commands/migrate-latest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class MigrateLatest extends Command {
static flags = {
'dry-run': flags.boolean({ description: 'Dry run migration.', default: false }),
only: flags.string({
helpValue: 'CONNECTION_ID',
description: 'Filter only a single connection.'
helpValue: 'CONNECTION_ID(s)',
description: 'Filter provided connection(s). Comma separated ids eg: id1,id2'
}),
'connection-resolver': flags.string({
helpValue: 'PATH',
Expand Down
4 changes: 2 additions & 2 deletions src/commands/migrate-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class MigrateList extends Command {

static flags = {
only: flags.string({
helpValue: 'CONNECTION_ID',
description: 'Filter only a single connection.'
helpValue: 'CONNECTION_ID(s)',
description: 'Filter provided connection(s). Comma separated ids eg: id1,id2'
}),
'connection-resolver': flags.string({
helpValue: 'PATH',
Expand Down
4 changes: 2 additions & 2 deletions src/commands/migrate-rollback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class MigrateRollback extends Command {
static flags = {
'dry-run': flags.boolean({ description: 'Dry run rollback.', default: false }),
only: flags.string({
helpValue: 'CONNECTION_ID',
description: 'Filter only a single connection.'
helpValue: 'CONNECTION_ID(s)',
description: 'Filter provided connection(s). Comma separated ids eg: id1,id2'
}),
'connection-resolver': flags.string({
helpValue: 'PATH',
Expand Down
4 changes: 2 additions & 2 deletions src/commands/prune.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class Prune extends Command {
static flags = {
'dry-run': flags.boolean({ description: 'Dry run prune.', default: false }),
only: flags.string({
helpValue: 'CONNECTION_ID',
description: 'Filter only a single connection.'
helpValue: 'CONNECTION_ID(s)',
description: 'Filter provided connection(s). Comma separated ids eg: id1,id2'
}),
'connection-resolver': flags.string({
helpValue: 'PATH',
Expand Down
4 changes: 2 additions & 2 deletions src/commands/synchronize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class Synchronize extends Command {
'dry-run': flags.boolean({ description: 'Dry run synchronization.', default: false }),
'skip-migration': flags.boolean({ description: 'Skip running migrations.' }),
only: flags.string({
helpValue: 'CONNECTION_ID',
description: 'Filter only a single connection.'
helpValue: 'CONNECTION_ID(s)',
description: 'Filter provided connection(s). Comma separated ids eg: id1,id2'
}),
'connection-resolver': flags.string({
helpValue: 'PATH',
Expand Down
Loading