Skip to content

Commit

Permalink
Improves help text
Browse files Browse the repository at this point in the history
  • Loading branch information
c4milo committed Jan 4, 2015
1 parent a7f92b5 commit 4c6f988
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,21 @@ func init() {

var usage string = `Github command line release tool.
Usage:
gh-release <user/repo> <tag> <branch> <description> <files>
<files> can be specified using glob patterns.
github-release <user/repo> <tag> <branch> <description> <files>
Parameters:
<user/repo>: Github user and repository
<tag>: Used to created the release. It is also used as the release's name
<branch>: Reference from where to create the provided <tag>, if it does not exist
<description>: The release description
<files>: Glob pattern describing the list of files to include in the release
Options:
-version: Displays version
Before using this tool make sure you set the environment variable GITHUB_TOKEN
with a valid Github token and correct authorization scopes to allow you to create releases
in your project.
`

func main() {
Expand Down

0 comments on commit 4c6f988

Please sign in to comment.