Vendia CLI command - client
share client
Generate type-safe clients.
Table of Contents
Commands for share client
Manage your local Vendia client
Usage for share client
share client <subcommand>| Sub command | description |
|---|---|
client generate | Generate a custom client for accessing your project’s API. |
client pull | Writes your project’s schema files to a local directory - needed in order to generate a custom client for accessing your project’s API. |
Examples for share client
❯ Manage Vendia clientshare client:pull --uni <uniName>client generate
Generate a custom client for accessing your project’s API.
Usage for client generate
share client generateFlags for client generate
auth(option) - Vendia auth token used for overriding 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 project’s schema files to a local directory - needed in order to generate a custom client for accessing your project’s API.
Usage for client pull
share client pullFlags for client pull
uni(option) - Name of projectnode(option) - Name of workspace
Examples for client pull
share client:pull --uni <uniName>