clay-run
v1.0.26
Published
clay.run command line tool.
Readme
clay
Quickly connect apps and custom code to create automated workflows and build tools for your team. Learn more about at clay.run.
Docs
Login
This CLI supports password-less authentication.
$ clay login
Login using password-less authentication.
$ clay logout
Log out of the CLI.
$ clay who
Print out who is currently logged in the CLI.Functions
$ clay functions list
Get a list of all the functions inside your
Clay account.
$ clay functions call Theo/echo '{"hello":"world"}'
Call the function on the Clay cloud and
send the payload {"hello":"world"} as
body.
$ clay clone Theo/echo
Clone a function and edit locally.
$ clay deploy
Deploy a function after cloning and editing
locally.
$ clay envs
List all the environment variables for the
current function.
$ clay serve
Serve the current lambda through a proxy.
$ clay invoke local
Invokes the currnet lambda.
$ clay invoke [-f functionName]
Invoke a Clay function through the exec.clay.run endpoint.
$ clay apps test [-t triggerName] [-a actionName]
Test a trigger or action from a lambda app.Workspaces
Switch between workspaces and your personal account.
$ clay workspaces list
List of all the workspaces you have access to.
$ clay workspaces set
Switch to any of the workspaces you have
access to.
$ clay workspaces personal
Go back to your private account.
$ clay workspaces create <name>
Create a new workspace.Bases
$ clay bases
List all the bases in the current workspace.
$ clay tables
Show all the tables for the current base.
$ clay describe -n <table name>
Show all the columns for the provided
table.
$ clay create -n <name>
Create a new base.
Learn more about the Clay.run API here.
