Comparing version 1.19.1 to 1.20.0
@@ -113,4 +113,12 @@ #!/usr/bin/env node | ||
.command('report') | ||
.description('show all logged hours of a specific day') | ||
.description('show all logged hours and report') | ||
.option('-v, --verbose', 'also show clocked messages') | ||
.option('--filter <key=value>', 'filter by key, value as string or /regex/', collect, []) | ||
.option('-t, --type <value>', 'short for --filter "type=<value>"') | ||
.option('--gt <date>', 'show dates from gt on') | ||
.option('--lt <date>', 'show dates upto') | ||
.option('--day [value]', 'show given day (default: today)') | ||
.option('--week [value]', 'show given week (default: current week)') | ||
.option('--month [value]', 'show given month (default: current month)') | ||
.option('--year [value]', 'show given year (default: current year)') | ||
.option('--reportDay <value>', 'day to use') | ||
@@ -323,3 +331,3 @@ .option('-a, --all', 'include archived dates') | ||
function report (cmd) { | ||
cmd.day = cmd.reportDay ?? true | ||
cmd.day = cmd.reportDay ?? cmd.day ?? true | ||
cmd.report = true | ||
@@ -326,0 +334,0 @@ |
{ | ||
"name": "clocker", | ||
"version": "1.19.1", | ||
"version": "1.20.0", | ||
"description": "track project hours", | ||
@@ -5,0 +5,0 @@ "bin": { |
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
124160
2186