mapbox / dyno

simple dynamodb client
MIT License
78 stars 31 forks source link

CLI adjustments #70

Closed rclark closed 9 years ago

rclark commented 9 years ago

Adds base64-encoding for buffers in the dynamodb records exported via CLI. Heavy refactoring in cli.js. + adjusts CLI arguments, for example:

dyno scan us-east-1/my-table
dyno tables us-east-1
dyno export us-east-1/my-table | dyno import eu-west-1/my-replica

@mick what do you think of doing the parameters like this? It feels a little more intuitive to me.

Needs

mick commented 9 years ago

Yeah region/table make sense. It would be great then if we can also handle:

dyno scan http://localhost:4567/my-table
rclark commented 9 years ago

@mick if you're cool with it I'll save the url stuff for another day. Otherwise this look good to go?

mick commented 9 years ago

yeah, LGTM