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

Bugfix: add "session" as optional CLI arg #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions bin/dynamo-archive.js
Expand Up @@ -19,9 +19,9 @@ var sleep = require('sleep');

var argv = utils.config({
demand: ['table'],
optional: ['rate', 'query', 'key', 'secret', 'region'],
optional: ['rate', 'query', 'key', 'secret', 'region', 'session'],
usage: 'Archives Dynamo DB table to standard output in JSON\n' +
'Usage: dynamo-archive --table my-table [--rate 100] [--query "{}"] [--region us-east-1] [--key AK...AA] [--secret 7a...IG]'
'Usage: dynamo-archive --table my-table [--rate 100] [--query "{}"] [--region us-east-1] [--key AK...AA] [--secret 7a...IG] [--session AA-ZZ]'
});

var dynamo = utils.dynamo(argv);
Expand Down
4 changes: 2 additions & 2 deletions bin/dynamo-restore.js
Expand Up @@ -20,9 +20,9 @@ var sleep = require('sleep');

var argv = utils.config({
demand: ['table'],
optional: ['rate', 'key', 'secret', 'region'],
optional: ['rate', 'key', 'secret', 'region', 'session'],
usage: 'Restores Dynamo DB table from JSON file\n' +
'Usage: dynamo-archive --table my-table [--rate 100] [--region us-east-1] [--key AK...AA] [--secret 7a...IG]'
'Usage: dynamo-archive --table my-table [--rate 100] [--region us-east-1] [--key AK...AA] [--secret 7a...IG] [--session AA..ZZ]'
});

var dynamo = utils.dynamo(argv);
Expand Down