Giter Club home page Giter Club logo

cloud-bigtable-cbt-cli's Introduction

CBT: Cloud Bigtable Tool

This is the source for cbt.

Build and Run

To build the tool locally, run this command in this directory:

go build .

That will build the cbt binary in that directory. To run commands with the cbt you built (rather than the official one) invoke it with the directory prefix like this:

./cbt help

Documentation

This tool gets documented on the Go packages website as well as cloud.google.com.

Go Package Documentation

This command will generate a file with a package description which gets used for the pkg.go.dev. You should update this after any changes to the usage or descriptions of the commands. To generate the file, run:

go generate

The output will be in cbtdoc.go.

You may want to verify this looks good locally. To do that, you will need to generate the doc into your GOPATH version of the directory, then run godoc and you can view the local version

go run . -o $(go env GOPATH)/src/cloud.google.com/go/bigtable/cmd/cbt/cbtdoc.go doc
godoc

Cloud Site Documentation

The Cloud documentation uses the cbt mddoc command to generate part of the cbt Reference page. To preview what it will look like upon generation, you can generate it into a file with the command:

go run . -o doc.md mddoc

This will create a file doc.md. You don't need to check it into this repository, so delete it once you are happy with the output.

Configuration

The configuration for the options (-project, -instance, and -creds) is in cbtconfig.go. So change that file if you need to modify those.

Third-party dependencies

This tool uses a couple of third-party dependencies, external from the Go standard libraries.

cloud-bigtable-cbt-cli's People

Contributors

alexoneill avatar billyjacobson avatar brandtnewton avatar broady avatar ccalok avatar codyoss avatar cshaff0524 avatar danielhultqvist avatar dsymonds avatar enocom avatar garye avatar google-cloud-policy-bot[bot] avatar hegemonic avatar humbertowastaken avatar igorbernstein2 avatar jba avatar jeanbza avatar jimfulton avatar justinuang avatar maksharma avatar markduffett avatar mutianf avatar rameshdharan avatar renovate-bot avatar shweta345 avatar sneakybueno avatar steveniemitz avatar telpirion avatar tritone avatar yogesh-desai 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.