← 返回命令列表

Linux command

moro 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Clock in (start work timer)

moro hi

Clock in at a specific time

moro hi [09:30]

Clock out (stop work timer)

moro bye

Set break time in minutes

moro break [30]

Show today's work report

moro report

Show report for all days

moro report --all

Set default break time

moro config --break [45]

Clear all recorded data

moro clear

说明

moro is a command-line work hours tracker. It records clock in/out times and calculates total work hours minus breaks. The formula is: (clock out time) - (clock in time) - (breaks) = work hours. Default break is 30 minutes.

参数

hi _HH:MM_
Clock in. Optionally specify a past start time.
bye _HH:MM_
Clock out. Optionally specify a past end time.
break _MINUTES_
Set break time in minutes.
report --all
Display work report. Use --all to show all days.
config --break _MINUTES_
Set default break time.
clear
Clear all recorded data.
--help
Display help information.

FAQ

What is the moro command used for?

moro is a command-line work hours tracker. It records clock in/out times and calculates total work hours minus breaks. The formula is: (clock out time) - (clock in time) - (breaks) = work hours. Default break is 30 minutes.

How do I run a basic moro example?

Run `moro hi` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does hi _HH:MM_ do in moro?

Clock in. Optionally specify a past start time.