Comparing version 0.0.2 to 0.1.0
@@ -59,2 +59,3 @@ #!/usr/bin/env node | ||
var rate = argv.rate || argv.r || argv._[2]; | ||
var title = argv.title || 'consulting'; | ||
@@ -102,3 +103,3 @@ var s = db.createReadStream({ gt: 'time!', lt: 'time!~' }); | ||
console.log(JSON.stringify([ { | ||
title: 'consulting', | ||
title: title, | ||
rate: rate, | ||
@@ -105,0 +106,0 @@ hours: Object.keys(hours).map(function (key) { |
@@ -12,3 +12,3 @@ usage: | ||
clocker data {-t TYPE, -r RATE} | ||
clocker data {-t TYPE, -r RATE, --title TITLE} | ||
Generate invoicer-compatible json output. | ||
@@ -15,0 +15,0 @@ |
{ | ||
"name": "clocker", | ||
"version": "0.0.2", | ||
"version": "0.1.0", | ||
"description": "track project hours", | ||
@@ -5,0 +5,0 @@ "bin": { |
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
11348
217