help.schema.adoc Maven / Gradle / Ivy
SCHEMA(1)
=========
:doctype: manpage
NAME
----
schema - manipulates Protobuf schemas.
SYNOPSIS
--------
*schema ls*
*schema upload --file=/path/to/schema.proto schema.proto*
*schema remove schema.proto*
*schema get schema.proto*
DESCRIPTION
-----------
Manage schemas with the `ls`, `upload`, `get`, `remove` subcommands.
COMMAND SYNOPSIS
----------------
*schema ls*::
Lists the schemas installed in the server.
*schema upload* --file='/path/to/schema.proto' 'schema.proto'::
Uploads a ProtoBuf schema file to the server.
*schema get* 'schema.proto'::
Shows the content of the specified schema.
*schema remove* 'schema.proto'::
Removes the specified schema from the server.
UPLOAD OPTIONS
--------------
*-f, --file*='FILE'::
Uploads a file as a protobuf schema with the given name.
EXAMPLE
--------
`schema upload --file=person.proto person.proto` +
Registers a `person.proto` Protobuf schema.
SEE ALSO
--------
query(1)