Skip to content

Share CLI command - client

share client

Generate typesafe clients.

Table of Contents

Commands

Manage your local Vendia client

Usage

Terminal window
share client <subcommand>
Sub commanddescription
client generateGenerate a custom client for your accessing your Uni’s API.
client pullWrites 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

Terminal window
Manage Vendia client
share client:pull --uni <uniName>

client generate

Generate a custom client for your accessing your Uni’s API.

Usage

Terminal window
share client generate

Flags

  • auth (option) - Vendia auth token used for overiding env variable or config values.
  • silent (boolean) - Silent all CLI output
  • json (boolean) - Output return values as JSON
  • debug (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

Terminal window
share client pull

Flags

  • uni (option) - Name of Uni
  • node (option) - Name of Node

Examples

Terminal window
share client:pull --uni <uniName>