cbt CLI reference

The cbt CLI is a command-line interface that lets you interact with Bigtable. See the cbt CLI overview to learn how to install the cbt CLI. Before you use the cbt CLI, you should be familiar with the Bigtable overview.

The examples on this page use sample data similar to data that you might store in Bigtable.

Usage:

cbt [-<option> <option-argument>] <command> <required-argument> [optional-argument]

The commands are:

addtocell                 Add a value to an aggregate cell (write)
count                     Count rows in a table
createappprofile          Create app profile for an instance
createcluster             Create a cluster in the configured instance
createfamily              Create a column family
createinstance            Create an instance with an initial cluster
createtable               Create a table
deleteallrows             Delete all rows
deleteappprofile          Delete app profile for an instance
deletecluster             Delete a cluster from the configured instance
deletecolumn              Delete all cells in a column
deletefamily              Delete a column family
deleteinstance            Delete an instance
deleterow                 Delete a row
deletetable               Delete a table
doc                       Print godoc-suitable documentation for cbt
getappprofile             Read app profile for an instance
help                      Print help text
import                    Batch write many rows based on the input file
listappprofile            Lists app profile for an instance
listclusters              List clusters in an instance
listinstances             List instances in a project
lookup                    Read from a single row