* Added GQL mutation and finished PoC
* Show Teams in Link Command (#81)
* Teams in CLI
* Team prompts
* Fix lint
* Only get env variables when updating (#83)
* Only get env variables when updating
* Update controller/envs.go
Co-authored-by: Jake Runzer <jakerunzer@gmail.com>
Co-authored-by: Jake Runzer <jakerunzer@gmail.com>
* Warn On Windows (#84)
* Warn On Windows
* As string
* Warning as yello
* Newline
* Merge
* railway logs command (#85)
* Deployment Logs in CLI
* Fix log polling (#87)
* Do not prompt for teams if no teams (#89)
* Clean Up Log Controller (#90)
* Merge
* Remove superfluous fn
* Logs
* Reference correct slice on project prompt (#91)
* GQL Golang Queries (#92)
* Merge
* Add to lib
* Print
* Dont print MP
* Support nested structs
* Remove environment
* Update lib/gql/gql.go
* Tail Up (#86)
* Deployment Logs in CLI
* Deploy Logs in CLI
* Live log tail
* Remove loggin code
* Update main.go
Co-authored-by: amy null <null@amy.gg>
* Add detached flag
* Don't fetch all deployments everytime
* Remove up command
* Add line number
* Comment
* Tail up on deploy
* Cant spell FML
* Fix flag err
* Re add tail detach for up
* use latest deploy
* Remove println
* Remove status indicator
* Custom errors
* Factor out incorrect errors
* Filter out removed
* Fix pointer walk
* Update main.go
Co-authored-by: Gregory Schier <gschier1990@gmail.com>
* Flatten root cmd
* Remove helper flag
* Fix print offset
* WTF
* As if this section wasn't confusing enough
* Use print
* Support build log timeouts + newlines
* Attach to cloud build line
* No idxMp
* Remove unused function
* Move prevwalk up
* Remove todo since it's done
* Big refactory
* Remove unused
* Fix NPE
* GQL soft error
* Handle build failure
* Do not export active state
* Remove surperfluous build function
* Only check logs once
* Added lil railway logs fin
* Deploy logs
Co-authored-by: amy null <null@amy.gg>
Co-authored-by: Gregory Schier <gschier1990@gmail.com>
* Newline at the end of up
* Add some docs
* Add redeploy logic and "up" detection
* Rename method and print deployment url
Co-authored-by: Jake Cooper <jake.elijah.cooper@gmail.com>
Co-authored-by: Jake Runzer <jakerunzer@gmail.com>
Co-authored-by: amy null <null@amy.gg>