.github: contains the ci workflow
cmd: code implementation for commands
│
│―――― deploy.go: code for respective command
│―――― doc.go: contains package declaration details
│―――― root.go: code for the root command (in our case, deployer)
│―――― undeploy.go: code for respective command
│―――― version.go: code for respective command
.gitignore
LICENSE
main.go: entrypoint to the program
README.md
go.mod: details about the modules used; auto-generate ./go.sum
First install Go.
If you just want to install the binary to your current directory and don't care about the source code, run
GOBIN="$(pwd)" go install https://github.com/izner32/deployer@latest
deployer deploy web
deployer {command} {sub-command} {flags}
deployer deploy web
- deploy: Deploy the application
- web:
- api:
- database:
- undeploy: Remove deployment of the application
- web:
- api:
- database:
- status: Get status of the current deployment
- web:
- api:
- database:
- version: Get Version of the Deploy CLI
Global Flags
- config: