Package couchdbkit :: Package ext :: Package pylons :: Module commands :: Class SyncDbCommand
[hide private]
[frames] | no frames]

Class SyncDbCommand

source code

                  object --+    
                           |    
paste.script.command.Command --+
                               |
                              SyncDbCommand

Syncs the CouchDB views on disk with the database.

Example:

   $ paster syncdb my-development.ini

This will also create the database if it does not exist

Nested Classes [hide private]

Inherited from paste.script.command.Command: BadCommand

Instance Methods [hide private]
 
command(self)
Main command to sync db
source code

Inherited from paste.script.command.Command: __init__, ask, challenge, ensure_dir, ensure_file, indent_block, insert_into_file, logging_file_config, pad, parse_args, parse_vars, quote_first_command_arg, read_vars, run, run_command, shorten, svn_command, write_file, write_vars

Inherited from paste.script.command.Command (private): _prog_name

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from paste.script.command.Command: here, standard_parser

Class Variables [hide private]
  summary = 'Syncs the CouchDB views on disk with the database.'
  usage = '\nSyncs the CouchDB views on disk with the database.\...
  min_args = 1
hash(x)
  max_args = 1
hash(x)
  group_name = 'couchdbkit'
  default_verbosity = 3
  parser = Command.standard_parser(simulate= True)

Inherited from paste.script.command.Command: default_interactive, description, hidden, max_args_error, min_args_error, required_args, return_code, takes_config_file

Inherited from paste.script.command.Command (private): _svn_failed

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

usage

Value:
'''
Syncs the CouchDB views on disk with the database.

    Example::

        $ paster syncdb my-development.ini

    This will also create the database if it does not exist
...