Skip to content

Commit

Permalink
Merge pull request #4 from cgmartin/process-title
Browse files Browse the repository at this point in the history
Provide a title to the envhandlebars process in `ps`
  • Loading branch information
cgmartin committed Apr 21, 2016
2 parents 2c8779f + fac7f98 commit e81157e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module.exports = {
"error",
"unix"
],
"lines-around-comment": "error",
"lines-around-comment": "off",
"max-depth": "error",
"max-len": "off",
"max-nested-callbacks": "error",
Expand Down
7 changes: 6 additions & 1 deletion bin/envhandlebars
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
#!/usr/bin/env node
/* eslint no-process-env: 0, no-process-exit: 0, no-console: 0 */
'use strict';
var bin = require('../index.js');

// Provide a title to the process in `ps`
process.title = 'envhandlebars';

bin({
env: process.env,
stdin: process.stdin,
stdin: process.stdin,
stdout: process.stdout,
stderr: process.stderr,
argv: process.argv
Expand Down
15 changes: 12 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "envhandlebars",
"version": "1.2.0",
"version": "1.2.1",
"description": "Simple handlebars templating for configuration files using environment variables",
"main": "index.js",
"scripts": {
Expand All @@ -15,13 +15,22 @@
},
"author": "Christopher Martin <[email protected]>",
"license": "MIT",
"keywords": [
"docker",
"handlebars",
"env",
"environment",
"variables",
"config",
"template"
],
"dependencies": {
"concat-stream": "^1.5.1",
"handlebars": "^4.0.5"
},
"devDependencies": {
"eslint": "^2.4.0",
"istanbul": "^0.4.2",
"eslint": "^2.8.0",
"istanbul": "^0.4.3",
"mocha": "^2.4.5"
}
}

0 comments on commit e81157e

Please sign in to comment.