Deta Space CLI https://deta.space
Find a file
dependabot[bot] a7f5d050d8
Bump golang.org/x/net from 0.9.0 to 0.17.0 (#158)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.9.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.9.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 15:44:12 +02:00
.github/workflows Restructure command tree, remove Manager, improve version check (#69) 2023-03-30 12:38:28 +02:00
.vscode Add support for actions (#115) 2023-06-05 16:18:17 +02:00
cmd Support new discovery file fields and clean up error messages (#143) 2023-10-03 09:52:57 +02:00
internal Support new discovery file fields and clean up error messages (#143) 2023-10-03 09:52:57 +02:00
pkg Support new discovery file fields and clean up error messages (#143) 2023-10-03 09:52:57 +02:00
scripts Use github release api to check for new cli versions (#93) 2023-04-12 10:36:08 +02:00
shared Support new discovery file fields and clean up error messages (#143) 2023-10-03 09:52:57 +02:00
.gitignore Support new discovery file fields and clean up error messages (#143) 2023-10-03 09:52:57 +02:00
.gon-amd64.hcl chore: sign binaries for darwin with gon and goreleaser 2023-03-22 14:08:12 +01:00
.gon-arm64.hcl chore: sign binaries for darwin with gon and goreleaser 2023-03-22 14:08:12 +01:00
.goreleaser.yaml chore: update goreleaser config for space version ldflags (#118) 2023-06-05 23:43:34 +02:00
go.mod Bump golang.org/x/net from 0.9.0 to 0.17.0 (#158) 2023-10-19 15:44:12 +02:00
go.sum Bump golang.org/x/net from 0.9.0 to 0.17.0 (#158) 2023-10-19 15:44:12 +02:00
LICENSE Create LICENSE 2023-02-17 15:14:46 +01:00
main.go Support new discovery file fields and clean up error messages (#143) 2023-10-03 09:52:57 +02:00
Makefile chore: set x-space-client header (#72) 2023-03-31 11:24:11 +02:00
README.md add instruction to wire the space cli to staging 2023-05-25 17:23:01 +02:00

Space CLI

Running the CLI

# Run the CLI
go run main.go [command]

# Build the space binary, then run it
go build && ./space [command]

# Install the space binary to your $GOPATH/bin
go install

If you want to test the CLI against a variety of projects, you can use the deta/starters repo:

git clone https://github.com/deta/starters
go run main.go -d ./starters/python-app [command]

Customizing the api endpoint

You can customize the root endpoint by setting the SPACE_ROOT environment variable:

SPACE_ROOT=<custom-api-endpoint> space push

You can also set the SPACE_ROOT environment variable in a .env file in the root of your project, and load it with a tool like direnv.

Other configuration options can be set in the .env file as well:

  • SPACE_ACCESS_TOKEN

Running unit tests

go test ./...