Skip to content

A command line tool to ease development and administration.

License

Notifications You must be signed in to change notification settings

platvorm/thinker

 
 

Repository files navigation

Thinker

###A RethinkDB management tool.

A command line tool to ease development and administration.

###Why? I have a production app using RethinkDB, and I wanted an easy way to clone the database to another server for development.

###So all it can do is clone databases? Yep. But I plan on adding other tools that I and the community find useful.

###How do I use it?

  Thinker Clone
  ==============================

  Clone a RethinkDB database on the same host or between remote hosts.

  Usage:
  thinker clone [options]
  thinker clone --sh host[:port] --th host[:port] --sd dbName --td newDbName
  thinker clone -h | --help

  Options:
  --sh, --sourceHost=<host[:port]>    Source host, defaults to 'localhost:21015'
  --th, --targetHost=<host[:port]>    Target host, defaults to 'localhost:21015'
  --sd, --sourceDB=<dbName>           Source database
  --td, --targetDB=<dbName>           Target database

  --pt, --pickTables=<table1,table2>  Comma separated list of tables to copy (whitelist)
  --ot, --omitTables=<table1,table2>  Comma separated list of tables to ignore (blacklist)
                                      Note: '--pt' and '--ot' are mutually exclusive options.

###How do I get it? npm install -g thinker

About

A command line tool to ease development and administration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 98.7%
  • JavaScript 1.3%