ddget

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2016 License: MIT Imports: 3 Imported by: 0

README

ddget

Get DynamoDB Item.

Build Status

Usage

Usage of ddget:
  -k string
      Item key
  -n  Do not print newline
  -p string
      Profile name
  -r string
      Region
  -t string
      Table name
  -v string
      Value attribute name
$ ddbcli
ap-northeast-1> select all * from my-table;
[
  {"key":"foo","value":"bar"},
  {"key":"zoo","value":"baz"}
]

$ ddget -t my-table -k foo
bar
$ ddbcli
ap-northeast-1> select all * from my-table;
[
  {"key":"foo","value":"bar","value1":"zoo"}
]

$ ddget -t my-table -k foo -v value1
zoo

Installation

wget https://github.com/winebarrel/ddget/releases/download/vX.X.X/ddget-vX.X.X-linux-amd64.gz
gunzip -c ddget-vX.X.X-linux-amd64.gz > ddget
chmod +x ddget
brew install https://raw.githubusercontent.com/winebarrel/ddget/master/homebrew/ddget.rb

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL