diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..75df3f3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +# Default ignored files +/.idea/workspace.xml +.idea +node_modules \ No newline at end of file diff --git a/bin/migrate.js b/bin/migrate.js index 66b69c8..5f2a641 100755 --- a/bin/migrate.js +++ b/bin/migrate.js @@ -18,6 +18,9 @@ function usage() { console.error(' - live [false]: if not specified, the migration script will not receive a database reference'); console.error(' - dyno [false]: if not specified, it is assumed that the objects are formatted using standard DynamoDB syntax. Pass the `--dyno` flag to the migrator if your input JSON objects are in a format suitable for direct usage in dyno (https://github.com/mapbox/dyno)'); console.error(' - rate [false]: log information about the rate at which migration is running. Will interfere with a migration script\'s logs'); + console.log('To run using npm:'); + console.log('npm run dynamodb-migrate