captain-log
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -11,3 +11,4 @@ const captain = require('./') | ||
todo: true, | ||
since: '2016-09-10T12:00:00Z', | ||
since: '2016-09-18T12:00:00Z', | ||
issueLink: true, | ||
exclude: [13] | ||
@@ -22,3 +23,3 @@ }, | ||
todo: true, | ||
since: '2016-09-10T12:00:00Z', | ||
since: '2016-09-18T12:00:00Z', | ||
exclude: [13] | ||
@@ -25,0 +26,0 @@ }, { |
@@ -37,2 +37,3 @@ const request = require('request') | ||
let prefix = '' | ||
d.number = '#' + d.number | ||
if (config.prefix) { | ||
@@ -44,3 +45,6 @@ prefix += ' ' + config.prefix | ||
} | ||
console.log(`-${prefix} #${d.number} : ${d.title}`) | ||
if (config.issueLink) { | ||
d.number = `[${d.number}](${d.url})` | ||
} | ||
console.log(`-${prefix} ${d.number} : ${d.title}`) | ||
// console.log(d.labels.map(d => d.name).join(', ')) | ||
@@ -47,0 +51,0 @@ }) |
{ | ||
"name": "captain-log", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "The log from your favorite captains", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,3 +15,3 @@ # captain-log | ||
``` | ||
```js | ||
const captain = require('captain-log') | ||
@@ -28,3 +28,3 @@ captain([{ | ||
prefix: ':tada:' // wants to prefix each issues with a special emoji 🎉? | ||
}]) | ||
}] [, optionallyYourBasicAuth]) | ||
``` | ||
@@ -42,2 +42,4 @@ | ||
See a better demo for `ipld/specs` ([code here](https://github.com/nicola/captain-log/blob/master/demo.js)) | ||
## Quick history | ||
@@ -44,0 +46,0 @@ |
Sorry, the diff of this file is not supported yet
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
9214
9
130
49