Skip to content
/ dpg Public

A Golang implementation of unofficial DeployGate API client

License

Notifications You must be signed in to change notification settings

jmatsu/dpg

Repository files navigation

CircleCI

dpg

dpg - Golang implementation of Unofficial DeployGate API Client CLI

DeployGate API reference is https://docs.deploygate.com/reference#deploygate-api

Usage

The basic syntax is:

dpg command [command options] [arguments...]

Command list is here

help, h option is avaiable for all commands. If you'd like to see the version, then run dpg -v.

Bash/Zsh completion

// For Bash
eval $(dpg --init-completion bash)
dpg --init-completion bash >> ~/.bashrc


// For Zsh
eval $(dpg --init-completion zsh)
dpg --init-completion zsh >> ~/.zshrc

Installation

go get github.com/jmatsu/dpg

Or download the binary

curl -sL "https://raw.githubusercontent.com/jmatsu/dpg/master/install.bash" | bash
curl -sL "https://raw.githubusercontent.com/jmatsu/dpg/master/install.bash" | VERSION=<0.2.1 or greater> bash

Or build on your local

go get -v -t -d ./...
go build

Docker containers are also available at https://hub.docker.com/r/jmatsu/dpg

Advanced

dpg is providing some procedures to improve your deployment experience.
They would be great help for you. You can see examples at docs/procedure.md.

LICENSE

Under MIT License. See LICENSE


COMMANDS

  • dpg app upload HELP
  • dpg app member add HELP
  • dpg app member list HELP
  • dpg app member remove HELP
  • dpg app team add HELP
  • dpg app team remove HELP
  • dpg app team list HELP
  • dpg app shared-team add HELP
  • dpg app shared-team remove HELP
  • dpg app shared-team list HELP
  • dpg app distributions destroy HELP
  • dpg distribution destroy HELP
  • dpg organization create HELP
  • dpg organization destroy HELP
  • dpg organization list HELP
  • dpg organization show HELP
  • dpg organization update HELP
  • dpg organization member add HELP
  • dpg organization member remove HELP
  • dpg organization member list HELP
  • dpg organization team member add HELP
  • dpg organization team member remove HELP
  • dpg organization team member list HELP
  • dpg enterprise member add HELP
  • dpg enterprise member remove HELP
  • dpg enterprise member list HELP
  • dpg enterprise organization members add HELP
  • dpg enterprise organization members remove HELP
  • dpg enterprise organization members list HELP
  • dpg enterprise shared-team add HELP
  • dpg enterprise shared-team remove HELP
  • dpg enterprise shared-team list HELP
  • dpg procedure app-manage expose HELP
  • dpg procedure app-manage on-feature-branch HELP
  • dpg procedure app-manage on-deploy-branch HELP