protobuffctl

About API CLI Guide Architecture Git-Repo

API

Protobuffctl has a command-line interface (CLI) tool designed to manage components and watchers for a project, possibly related to Protocol Buffers (protobuf). This documentation provides an overview of the available commands and their usage.
The the export module functions do exactly the same

getAll

getAll("<type>", <describe>, <jsonOut>);

Retrieves all elements of a specified type from the registry.

get

get("<type>", "<name>", <depth>);

Retrieves a specific component from the registry.

toJson

toJson("<out>", "<id>");

Converts the registry to a JSON file.

remove

remove("<type>", "<name>", <values>, <pull>);

Removes a component from another component.

findAllUsages

findAllUsages("<type>", "<name>");

Finds all usages of a specified component in the registry.

add

add("<type>", "<source>", "<target>", <pull>);

Adds a component to another component.

del

del("<type>", "<id>", <remove_from_components>);

Deletes a component from the registry.

protogenArr

protogenArr(<protofiles>);

Generates Protobuff files for an array of proto files.

pull

pull(<protoFiles>, <remove_missing>);

Updates the registry with changes from the specified proto files.

push

createFromConfig

createFromConfig(<protoFiles>);

Creates components from a configuration file.

create

create("<type>", "<arg1>", "<arg2>", "<arg3>");

Initializes a new Proto-object or ProtobuffFile in the registry.