Share CLI command - client

Generate typesafe clients.

Commands

Manage your local Vendia client

Usage

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

# 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 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

share client pull

Flags

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

Examples

share client:pull --uni <uniName>