Package: cdbcli
Featuresauto-completion for database name, document id, view name, commandsyntax highlighting of documents and viewsnavigate a couchdb server as if it were a file systemvarious commands supportedcd - change databasels - list docs under a databasecat - show content of a docexec - execute a viewrm - remove a docman - show help on commandsmkdir - create new databasedu - doc and database sizelv - list views inside a view doccreate/update docs using external$EDITORpipe output to external shell commands, such asgrep,wcandjqDemoUsageThis tool allows you to traverse a CouchDB database as if it were a file system. Familiar file system commands are supported, such asls,cd,mkdir,rm, etc, while providing context-rich auto-completion.Starting cdbcliRefer to theInstallationsection for guide on how to install cdbcli.Running cdbcli requires connection parameters to the underlying couchdb instance you want to connnect to.cdbcli --help

Usage: cdbcli [OPTIONS] [DATABASE]

Options:
  -h, --host TEXT               The host of the couchdb instance
  --port TEXT                   The port of the coouchdb instance
  -u, --username TEXT           The username to connect as
  -p, --password TEXT           The password
  -P, --askpass / --no-askpass  Ask for password?
  --tls / --no-tls              Use TLS to connect to the couchdb instance?
  --help                        Show this message and exit.e.g., if you want to connect your couchdb instance athttp://yourdomain:9999, you can issue the command:cdbcli -h yourdomain --port 9999 -u admin -PSpecifying-Pwill prompt you for password. You can also use-pto specify password at the command line, but this is not recommended for sensitive passwords.By default,cdbcliconnects to the couchdb instance athttp://localhost:5984.You will be greeted by the cdbcli’s splash screen:___  ____  ____   ___  __    ____
     / __)(  _ \(  _ \ / __)(  )  (_  _)
    ( (__  )(_) )) _ <( (__  )(__  _)(_
     \___)(____/(____/ \___)(____)(____)

    Welcome to cdbcli 0.1.1
    CouchDB version: 1.5.0

    Type 'help' or 'man' to get a list of all supported commands
    Press <TAB> for command auto-completion
    Press Ctrl+C or Ctrl+D or type 'exit' to exit

admin@yourdomain/>Run with Dockercdbcliis also available as a docker image on thedocker hubTo run:docker run -it kevinjqiu/cdbcli cdbcli <arguments>The docker networking restrictions apply, so if you want to connect to a database on localhost, e.g., you will need to let the container use the host’s networking:docker run -it --net=host kevinjqiu/cdbcli cdbcli <arguments>Installationpip install cdbcliContributingClone this repository.Make a Python virtualenvInstall requirements:pip install-rrequirements-test.txtInstalldockerbecause the integration tests require itRunmake start_couchdb. This will start the testing couchdb instance using dockerRunmake testRunmake stop_couchdbto clean upContributing to DocumentationClone this repository.Make a Python virtualenvInstall requirements:pip install-rrequirements-docs.txtRunmake docs.  The documentation can be accessed under docs/build/index.html.Licencecdbcliis licensed under Apache 2.0Authorscdbcliwas written byKevin J.Qiu.Seeall contributorsAttributionpython-prompt-toolkitby Jonathan Slendersclickby Armin Ronacher