Comparing version 1.2.1 to 1.2.2
@@ -39,20 +39,21 @@ /* | ||
options: { | ||
'all' : Boolean, | ||
'branch' : String, | ||
'close' : Boolean, | ||
'comment' : String, | ||
'detailed': Boolean, | ||
'fetch' : Boolean, | ||
'fwd' : String, | ||
'list' : Boolean, | ||
'merge' : Boolean, | ||
'number' : Number, | ||
'open' : Boolean, | ||
'rebase' : Boolean, | ||
'remote' : String, | ||
'repo' : String, | ||
'state' : [ 'open', 'closed' ], | ||
'submit' : String, | ||
'title' : String, | ||
'user' : String | ||
'all' : Boolean, | ||
'branch' : String, | ||
'close' : Boolean, | ||
'comment' : String, | ||
'description' : String, | ||
'detailed' : Boolean, | ||
'fetch' : Boolean, | ||
'fwd' : String, | ||
'list' : Boolean, | ||
'merge' : Boolean, | ||
'number' : Number, | ||
'open' : Boolean, | ||
'rebase' : Boolean, | ||
'remote' : String, | ||
'repo' : String, | ||
'state' : [ 'open', 'closed' ], | ||
'submit' : String, | ||
'title' : String, | ||
'user' : String | ||
}, | ||
@@ -64,2 +65,3 @@ shorthands: { | ||
'c': [ '--comment' ], | ||
'D': ['--description'], | ||
'd': [ '--detailed' ], | ||
@@ -555,3 +557,3 @@ 'f': [ '--fetch' ], | ||
base: options.branch, | ||
body: '', | ||
body: options.description, | ||
head: options.user + ':' + pullBranch, | ||
@@ -558,0 +560,0 @@ repo: options.repo, |
{ | ||
"name": "gh", | ||
"description": "GitHub command line tools.", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"homepage": "http://nodegh.io", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -223,8 +223,9 @@ # Node GH [![Build Status](https://secure.travis-ci.org/eduardolundgren/node-gh.png?branch=master)](https://travis-ci.org/eduardolundgren/node-gh) [![NPM version](https://badge.fury.io/js/gh.png)](http://badge.fury.io/js/gh) | ||
Option | Usage | Type | ||
--- | --- | --- | ||
`-s`, `--submit` | **Required** | `String` | ||
`-b`, `--branch` | *Optional* | `String` | ||
`-r`, `--repo` | *Optional* | `String` | ||
`-t`, `--title` | *Optional* | `String` | ||
Option | Usage | Type | ||
--- | --- | --- | ||
`-s`, `--submit` | **Required** | `String` | ||
`-b`, `--branch` | *Optional* | `String` | ||
`-D`, `--description` | *Optional* | `String` | ||
`-r`, `--repo` | *Optional* | `String` | ||
`-t`, `--title` | *Optional* | `String` | ||
@@ -238,3 +239,3 @@ Omitting `--title` will submit a pull request using current branch name as title. | ||
``` | ||
gh pr --submit eduardolundgren --title 'Fix #32' | ||
gh pr --submit eduardolundgren --title 'Fix #32' --description 'Awesome fix' | ||
``` | ||
@@ -535,2 +536,4 @@ | ||
* **v1.2.2** August 14, 2013 | ||
* Include `--description` attribute on PR submit | ||
* **v1.2.1** August 12, 2013 | ||
@@ -537,0 +540,0 @@ * Parse remote url with score on username |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77974
1745
618