Forrest logo
back to context overview

cbt

List of commands for cbt:

  • cbt:tldr:23c2b cbt: List tables in the current project.
    $ cbt ls
    try on your machine
    explain this command
  • cbt:tldr:365b6 cbt: Search up to 5 rows in the current project by a specific regex pattern and print them.
    $ cbt read "${table_name}" regex="${row_key_pattern}" count=${5}
    try on your machine
    explain this command
  • cbt:tldr:3ba9f cbt: Read a specific range of rows and print only returned row keys in the current project.
    $ cbt read ${table_name} start=${start_row_key} end=${end_row_key} keys-only=true
    try on your machine
    explain this command
  • cbt:tldr:5f29d cbt: Print count of rows in a specific table in the current project.
    $ cbt count "${table_name}"
    try on your machine
    explain this command
  • cbt:tldr:5f884 cbt: Display a single row with only specific column(s) (omit qualifier to return entire family) in the current project.
    $ cbt lookup "${table_name}" "${row_key}" columns="${family1:qualifier1,family2:qualifier2,---}"
    try on your machine
    explain this command
back to context overview