UNPKG

charlike

Version:

Small, fast, simple and streaming project scaffolder for myself, but not only. Supports hundreds of template engines through the @JSTransformers API or if you want custom `render` function passed through options

21 lines (17 loc) 310 B
#!/usr/bin/env node 'use strict'; var meow = require('meow'); var gitLatestSemverTag = require('./'); meow({ help: [ 'Usage', ' git-latest-semver-tag' ] }); gitLatestSemverTag(function(err, tag) { if (err) { console.error(err.toString()); process.exit(1); } console.log(tag); });