dynamo-tools
CLI utilities for dynamodb
Last updated a month ago by benforce .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install dynamo-tools 
SYNC missed versions from official npm registry.

dynamo-tools

CLI tools for dynamodb

Build Status oclif Version Downloads/week Maintainability License

Usage

$ npm install -g dynamo-tools
$ ddb COMMAND
running command...
$ ddb (-v|--version|version)
dynamo-tools/1.4.0 linux-x64 node-v12.16.2
$ ddb --help [COMMAND]
USAGE
  $ ddb COMMAND
...

Commands

ddb backup [FILE]

Backup all entries in a dynamodb table to a file

USAGE
  $ ddb backup [FILE]

ARGUMENTS
  FILE  Path to write the backup to.

OPTIONS
  -h, --help             show CLI help
  --batchSize=batchSize  [default: 100] The number of items to copy at a time
  --region=region        (required) AWS region that the DynamoDB is hosted in
  --source=source        (required) Name of the DynamoDB to copy entries from

See code: src/commands/backup.ts

ddb copy

Copy the contents of one dynamodb table to another

USAGE
  $ ddb copy

OPTIONS
  -h, --help                               show CLI help
  --batchSize=batchSize                    [default: 25] The number of items to copy at a time
  --destination=destination                (required) Destination table name
  --destinationProfile=destinationProfile  AWS Credentials profile to copy to
  --destinationRegion=destinationRegion    Region of destination table
  --region=region                          Region for both source and destination tables
  --source=source                          (required) Source table name
  --sourceProfile=sourceProfile            AWS Credentials profile to copy from
  --sourceRegion=sourceRegion              Region of source table

See code: src/commands/copy.ts

ddb delete [FILE]

describe the command here

USAGE
  $ ddb delete [FILE]

OPTIONS
  -h, --help       show CLI help
  --region=region  (required) AWS region that the DynamoDB is hosted in
  --target=target  (required) Name of the DynamoDB table to delete records from

See code: src/commands/delete.ts

ddb help [COMMAND]

display help for ddb

USAGE
  $ ddb help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

Current Tags

  • 1.4.0                                ...           latest (a month ago)

5 Versions

  • 1.4.0                                ...           a month ago
  • 1.3.0                                ...           2 months ago
  • 1.2.0                                ...           3 months ago
  • 1.1.0                                ...           3 months ago
  • 1.0.0                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 19
Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |