Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gh

Package Overview
Dependencies
Maintainers
2
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gh - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

40

lib/cmds/pull-request.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc