Code Monkey home page Code Monkey logo

couchbase-cli's Introduction

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 docs. The source documents, which can be found in 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 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 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 © 2018 Couchbase, Inc.

couchbase-cli's People

Contributors

aartamonau avatar ajityagaty avatar avsej avatar bcui6611 avatar capttofu avatar cb-docs-robot avatar ceejatec avatar chippiewill avatar daverigby avatar dpoonam avatar dustin avatar ebenhaber avatar jamesl33 avatar jflath avatar jimwwalker avatar kbatten avatar mattcarabine avatar mblow avatar mcpaddy avatar mhubail avatar mikewied avatar owend74 avatar pavel-paulau avatar stevewatanabe avatar steveyen avatar tahmmee avatar timofey-barmin avatar tonyjhillman avatar trondn avatar vzasade avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.