Share CLI command - client
Generate typesafe clients.
Commands
Manage your local Vendia client
Usage
share client <subcommand>
Sub command | description |
---|---|
client generate | Generate a custom client for your accessing your Uni's API. |
client pull | Writes your Uni's schema files to a local directory - needed in order to generate a custom client for your accessing your Uni's API. |
Examples
# Manage Vendia client
share client:pull --uni <uniName>
client generate
Generate a custom client for your accessing your Uni's API.
Usage
share client generate
Flags
auth
(option) - Vendia auth token used for overiding env variable or config values.silent
(boolean) - Silent all CLI outputjson
(boolean) - Output return values as JSONdebug
(boolean) - Print debugging information
client pull
Writes your Uni's schema files to a local directory - needed in order to generate a custom client for your accessing your Uni's API.
Usage
share client pull
Flags
uni
(option) - Name of Uninode
(option) - Name of Node
Examples
share client:pull --uni <uniName>
Table of contents