Skip to content

Vendia CLI Commands

Below is a list of available Vendia CLI commands.

Commands

share auth

Manage authorization & set current Vendia user.

SubcommandDescription
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.

SubcommandDescription
client generateGenerate a custom client for your accessing your project’s API.
client pullWrites your project’s schema files to a local directory - needed in order to generate a custom client for your accessing your project’s API.

share file

Manage files in a project.

SubcommandDescription
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 workspaces in a project.

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

share org

Manage your Organization (Enterprise only).

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

share uni

Manage project operations.

SubcommandDescription
uni createCreate a new project
uni deletePermanently delete a project
uni evolveEvolve the schema for a project
uni getGet information about a given project
uni inviteInvite a new workspace to join the project
uni joinJoin an existing project
uni listLists all projects in your account
uni openOpen a project in the vendia dev console
uni resetResets project to its original state