Skip to content

Instantly share code, notes, and snippets.

@vaijab
Created August 12, 2016 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vaijab/4e3cc1a8c6e644fcc59d517476e014a0 to your computer and use it in GitHub Desktop.
Save vaijab/4e3cc1a8c6e644fcc59d517476e014a0 to your computer and use it in GitHub Desktop.
~/gocode/drone-trigger/src/github.com/vaijab/drone-trigger> time ./drone-trigger --help
NAME:
drone-trigger - trigger drone builds or deployments
USAGE:
drone-trigger [global options] command [command options] [arguments...]
VERSION:
0.0.1
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--drone-token TOKEN, -t TOKEN drone auth TOKEN [$DRONE_TOKEN, $PLUGIN_DRONE_TOKEN]
--drone-server URL, -s URL drone server URL [$DRONE_SERVER, $PLUGIN_DRONE_SERVER]
--repo REPO, -r REPO REPO, eg. foo/bar [$REPO, $PLUGIN_REPO]
--commit value, -c value filter by commit sha [$FILTER_COMMIT, $PLUGIN_COMMIT]
--tag value filter by tag [$FILTER_TAG, $PLUGIN_TAG]
--branch value, -b value filter by branch [$FILTER_BRANCH, $PLUGIN_BRANCH]
--status value filter by build status (default: "success") [$FILTER_STATUS, $PLUGIN_STATUS]
--number value filter by build number (default: 0) [$FILTER_NUMBER, $PLUGIN_NUMBER]
--event value filter by trigger event [$FILTER_EVENT, $PLUGIN_EVENT]
--deploy-to value, -d value environment to deploy to, if set a deployment event will be triggered [$DEPLOY_TO, $PLUGIN_DEPLOY_TO]
--param value, -p value custom parameters to include in the trigger in KEY=value format [$PARAMS, $PLUGIN_PARAMS]
--help, -h show help
--version, -v print the version
real 0m0.006s
user 0m0.000s
sys 0m0.006s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment