All Projects → couchbase → Couchbase Cli

couchbase / Couchbase Cli

Licence: apache-2.0
Command Line tools for Administering a Couchbase Cluster

Programming Languages

python
139335 projects - #7 most used programming language

= Couchbase Command Line Tools

This package contains the command line tool set that performs the same actions to provide the user the same capabilities as the Couchbase Server web interface.

== Prerequisites

If you have installed the full Couchbase Server, these tools will have all prerequisites required to run these tools. If you run these tools standalone, you will need:

  • Python 3.3 or greater
  • Command shell such as bash

== Building the Documentation

The documentation for this tool set is stored in link:docs[]. The source documents, which can be found in link:docs/modules/cli/pages/cbcli[], are written in AsciiDoc and used to produce HTML and man page files.

NOTE: The docs folder structure is deeply nested in order for these documents to be incorporated directly into the main documentation for Couchbase Server hosted at https://docs.couchbase.com.

You can use the link:docs/generate.sh[generate.sh] script to generate standalone HTML and man page versions of these source documents. The list of files to convert is maintained in the script itself. When run, the script writes the generated documents to the link:docs/generated[generated] folder. Under the current workflow, this folder needs to be committed back to the repository for other tools to consume.

The generate.sh script requires the asciidoctor command to be available on your machine (which in turn requires Ruby). Installation of this software is covered in the next section.

== Running unit test

To run the unit tests use the following command from the couchbase-cli directory.

$ python -m unittest discover -s ./test

=== macOS Requirements

$ brew install asciidoctor


Copyright (C) 2018 Couchbase, Inc.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].