dosa

command
v2.3.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2017 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package main is the entrypoint for the dosa CLI. Some examples below:

Options for all commands:

Override default host:port for gateway:

$ dosa -h 192.168.0.2 -p 8080 <cmd>

Provide a custom service name, "foo" for gateway (when using TChannel):

$ dosa --service dosa-foo <cmd> ...

Use "dosacli-infra" as caller name for RPCs to gateway:

$ dosa --caller dosacli-infra <cmd>

Provide a custom timeout of 20 seconds for RPCs to gateway:

$ dosa --timeout 20s <cmd>

Managing Scopes:

Create a new scope called "infra_dev":

$ dosa scope create infra_dev

List all scopes created by $USER (you):

$ dosa scope list

Scope subcommand usage:

$ dosa scope help

Managing Schema:

Dump schema to stdout as CQL (default is Avro):

$ dosa schema dump -as cql

Check the compatibility status of all schema in the "infra_dev" scope:

$ dosa schema status -s infra_dev

Check the compatibility status of the schema with prefix "oss.user" in the "infra_dev" scope:

$ dosa schema status -s infra_dev -np oss.user

Upsert schema with prefix "oss.user" to the "infra_dev" scope:

$ dosa schema upsert -s infra_dev -np oss.user

Code Generation:

TODO

$ dosa gen ...

Defining Custom Commands:

TODO

$ dosa mycmd ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL