README.md in ddbcli-0.3.3 vs README.md in ddbcli-0.3.4
- old
+ new
@@ -8,15 +8,15 @@
$ gem install ddbcli
If you are not using RubyGems, you can use the script files that depend on only Ruby.
-[ddbcli-0.3.3](https://bitbucket.org/winebarrel/ddbcli/downloads/ddbcli-0.3.3)
+[ddbcli-0.3.4](https://bitbucket.org/winebarrel/ddbcli/downloads/ddbcli-0.3.4)
```sh
-wget https://bitbucket.org/winebarrel/ddbcli/downloads/ddbcli-0.3.3
-sudo cp ddbcli-0.3.3 /usr/local/bin/ddbcli
+wget https://bitbucket.org/winebarrel/ddbcli/downloads/ddbcli-0.3.4
+sudo cp ddbcli-0.3.4 /usr/local/bin/ddbcli
sudo chmod 755 /usr/local/bin/ddbcli
```
## Usage
@@ -60,11 +60,11 @@
displays a region list
SHOW CREATE TABLE table_name
displays a CREATE TABLE statement
-CREATE TABLES table_name (
+CREATE TABLE table_name (
key_name {STRING|NUMBER|BINARY} HASH
[, key_name {STRING|NUMBER|BINARY} RANGE]
[, INDEX index1_name (attr1 {STRING|NUMBER|BINARY}) {ALL|KEYS_ONLY|INCLUDE (attr, ...)}
, INDEX index2_name (attr2 {STRING|NUMBER|BINARY}) {ALL|KEYS_ONLY|INCLUDE (attr, ...)}
, ...]
@@ -72,14 +72,14 @@
, GLOBAL INDEX index2_name (hash_attr2 {STRING|NUMBER|BINARY} [, range_attr2 {STRING|NUMBER|BINARY}]) {ALL|KEYS_ONLY|INCLUDE (attr, ...)} [READ = num WRITE = num]
, ...]
) READ = num WRITE = num
creates a table
-CREATE TABLES table_name LIKE another_table_name [READ = num, WRITE = num]
+CREATE TABLE table_name LIKE another_table_name [READ = num WRITE = num]
creates a table like another table
-DROP TABLE table_name
- deletes a table
+DROP TABLE table_name [, table_name2, ...]
+ deletes tables
ALTER TABLE table_name READ = num WRITE = num
updates the provisioned throughput
GET {*|attr1,attr2,...} FROM table_name WHERE key1 = '...' AND ...