apex-shell
apex-shell copied to clipboard
Interactive shell for executing commands in AWS Lambda containers.
Perhaps I'm just having a brain fart, but installation is failing for me. Protips? ``` go get github.com/apex/apex-shell package github.com/apex/apex/plugins/env: cannot find package "github.com/apex/apex/plugins/env" in any of: /usr/local/go/src/github.com/apex/apex/plugins/env (from $GOROOT)...
I downloaded v1.0.0 for darwin, but running it fails: ``` $ which apex-shell /Users/drnic/bin/apex-shell $ apex-shell INFO[0000] deploying function=repl FATAL[0000] error: build hook: /Users/drnic/Projects/gopath/src/github.com/apex/log/handlers/logfmt/logfmt.go:10:2: cannot find package "github.com/go-logfmt/logfmt" in any...
./apex-shell INFO[0000] deploying function=repl INFO[0000] created build (3.0 kB) function=repl INFO[0001] creating function function=repl INFO[0001] creating alias function=repl INFO[0001] function created function=repl name=booking-alerts_repl version=3 apex> ls FATAL[0003] error: Process exited...
Use a simple python or node script instead of Go here for faster upload.
Maybe, it would require a reasonable amount of refactoring in Apex (which would be nice anyway), but it would also make this command annoying to configure.