Skip to content

Share CLI Commands

Below is a list of available CLI commands

Commands

share auth

Manage authorization & set current Vendia user

Sub commanddescription
auth loginLogin to Vendia user account
auth logoutLogout of Vendia user account
auth roleManage roles for users
auth role deleteDelete roles for users
auth role getGet role information
auth role listList roles for user
auth role setSet Roles for user
auth switchSwitch active Vendia account
auth whoamiDisplay active Vendia account

share client

Manage your local Vendia client

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.

share file

Manage files in a Uni

Sub commanddescription
file addAdd a file
file getGet a file
file listList current files
file removeRemove a file
file updateUpdate a file

share login

Login to Vendia user account

share logout

Logout of Vendia user account

share node

Manage nodes in a Uni

Sub commanddescription
node add-api-keyAdd an API Key
node add-jwt-authAdd a custom JWT Authentication Provider to a Node
node getGet node configuration
node grant-accessGrant user access to a Node
node remove-jwt-authRemove a custom JWT Authentication Provider from a Node
node revoke-accessRevoke a user’s access to a Node
node schemaFetch a Node’s GraphQL Schema
node sharing-policyManage sharing policies for a node
node updateUpdate node configuration

share org

Manage your Organization (Enterprise only)

Sub commanddescription
org getGet your Organization (Enterprise only)
org list-usersList Org Users (Enterprise only)

share uni

Manage Uni operations

Sub commanddescription
uni createCreate a new uni
uni deletePermanently delete a uni
uni evolveEvolve the schema for a Uni
uni getGet information about a given uni
uni inviteInvite a new node to join the Uni
uni joinJoin an existing Uni
uni listLists all unis in your account
uni openOpen a Uni in the vendia dev console
uni resetResets Uni to it’s original state