-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improvements to the ls command (#52)
* feat: switch ls output to cli-table * fix: sorts time entries oldest to newest Sorts the time entries so that the last ones displayed in the table are the most recent * feat(ls): adds option to change number of days New `-d` option to display that number of days in the report * chore: adds debug to ls command * feat(ls): ability to search for time entries Any strings after the ls command will be used to search and filter the returned results * test: adds node 18.x
- Loading branch information
1 parent
1720c03
commit 5c9effc
Showing
3 changed files
with
34 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
describe('ls command',() => { | ||
it.todo('should get tasks for the last 14 days') | ||
// get time entries | ||
// sort them | ||
// check that the earliest is within 14 days | ||
}) | ||
describe('ls command', () => { | ||
it.todo('should get tasks for the last 14 days') | ||
// get time entries | ||
// sort them | ||
// check that the earliest is within 14 days | ||
}) |