github-label-template
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -38,3 +38,3 @@ #!/usr/bin/env node | ||
if (program.export) { | ||
const exportedFile = path.resolve(program.export); //FIXME relative path? | ||
const exportedFile = path.resolve(program.export); | ||
return lbl.getAll() | ||
@@ -60,2 +60,6 @@ .then(labels => { | ||
} | ||
program.help((txt) => { | ||
console.error('No action specified!'); | ||
return txt; | ||
}); | ||
}; | ||
@@ -62,0 +66,0 @@ main(); |
{ | ||
"name": "github-label-template", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "manage github lable automatically", | ||
"main": "index.js", | ||
"bin": { | ||
"ghlbl": "./index.js" | ||
"ghlbl": "./index.js" | ||
}, | ||
@@ -9,0 +9,0 @@ "scripts": { |
Github Label Template | ||
------------------------ | ||
[![Build Status](https://travis-ci.org/xavierchow/github-label-template.svg?branch=master)](https://travis-ci.org/xavierchow/github-label-template) | ||
[![npm](http://img.shields.io/npm/v/github-label-template.svg?maxAge=2592000)](https://www.npmjs.org/package/github-label-template) | ||
@@ -38,5 +39,16 @@ ## Intro | ||
``` | ||
### Samples | ||
* Export all labels | ||
* `ghlbl -o xavierchow -r github-label-template -t <github-token> -e out.json` | ||
* Clear all existed lables | ||
* `ghlbl -o xavierchow -r github-label-template -t <github-token> -d` | ||
* Import lables from json template | ||
* `ghlbl -o xavierchow -r github-label-template -t <github-token> -i tmpl.json` | ||
## License | ||
MIT |
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
12068
273
54