Linux command
watson 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Start tracking
watson start [project] +[tag]
Stop tracking
watson stop
Show current status
watson status
List today's entries
watson log -d
List this week
watson log -w
Show report
watson report
Edit last entry
watson edit
Cancel current tracking
watson cancel
说明
watson is a command-line time tracking tool that records work sessions on named projects with optional tags for categorization. Starting a timer associates the current time with a project and tags, and stopping it saves a completed time frame with the calculated duration. The log command displays tracked entries chronologically, with filters for viewing today's work, the current week, or a specific date range. Reports aggregate time by project, showing total hours spent on each project and its tags over a given period. Past entries can be added retroactively, existing entries can be edited to correct mistakes, and the cancel command discards the currently running timer without saving it.
参数
- start _PROJECT_ _+TAGS_
- Start tracking.
- stop
- Stop tracking.
- status
- Current frame.
- log _-d_|_-w_|_-m_
- Show entries.
- report _-d_|_-w_|_-m_
- Generate report.
- edit
- Edit entry.
- cancel
- Cancel current.
- add
- Add past entry.
- remove
- Delete entry.
FAQ
What is the watson command used for?
watson is a command-line time tracking tool that records work sessions on named projects with optional tags for categorization. Starting a timer associates the current time with a project and tags, and stopping it saves a completed time frame with the calculated duration. The log command displays tracked entries chronologically, with filters for viewing today's work, the current week, or a specific date range. Reports aggregate time by project, showing total hours spent on each project and its tags over a given period. Past entries can be added retroactively, existing entries can be edited to correct mistakes, and the cancel command discards the currently running timer without saving it.
How do I run a basic watson example?
Run `watson start [project] +[tag]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does start _PROJECT_ _+TAGS_ do in watson?
Start tracking.