Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 591 Bytes

File metadata and controls

23 lines (17 loc) · 591 Bytes

Speakeasy CLI

Local Development

  1. Setup environment

    • export GRAM_API_URL=http://localhost:8080
    • export GRAM_DASHBOARD_URL=https://localhost:5173
    • export GRAM_ORG=organization-123
    • export GRAM_PROJECT=default
    • export GRAM_API_KEY=<API-KEY>
  2. Run desired command

    • cd go/cli
    • go run main.go status

Testing Speakeasy Functions

  1. Stage zip

    • go run main.go stage function --slug test-fn --location fixtures/example.zip
    • You never need to do this again as long as you are using the same zip
  2. Push

    • go run main.go push