← 返回命令列表

Linux command

clockify 命令

网络

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

常用示例

Start a time entry

clockify-cli start "[Task description]"

Start with project and tags

clockify-cli start "[Task]" -p [project_id] -t [tag1,tag2]

Stop current time entry

clockify-cli stop

Show current running entry

clockify-cli show current

List recent time entries

clockify-cli report

List all projects

clockify-cli project list

List workspaces

clockify-cli workspace list

Configure API key

clockify-cli config set api-key [your_api_key]

说明

clockify-cli is a command-line interface for Clockify, a time tracking service. It enables starting, stopping, and managing time entries without leaving the terminal. The tool integrates with the Clockify API to track time across projects and workspaces. Time entries can be tagged, assigned to projects and tasks, and marked as billable. Reports provide summaries of tracked time. Configuration is stored locally, including API key and default workspace. The CLI supports multiple workspaces for users who track time across different organizations.

参数

start _description_
Start a new time entry.
stop
Stop the current time entry.
show current
Display currently running entry.
report _options_
Show time entry reports.
project list
List all projects.
workspace list
List all workspaces.
config set _key_ _value_
Set configuration value.
-p, --project _id_
Assign to project.
-t, --tag _tags_
Add tags (comma-separated).
--task _id_
Assign to task.
-b, --billable
Mark as billable.
-w, --workspace _id_
Specify workspace.

FAQ

What is the clockify command used for?

clockify-cli is a command-line interface for Clockify, a time tracking service. It enables starting, stopping, and managing time entries without leaving the terminal. The tool integrates with the Clockify API to track time across projects and workspaces. Time entries can be tagged, assigned to projects and tasks, and marked as billable. Reports provide summaries of tracked time. Configuration is stored locally, including API key and default workspace. The CLI supports multiple workspaces for users who track time across different organizations.

How do I run a basic clockify example?

Run `clockify-cli start "[Task description]"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does start _description_ do in clockify?

Start a new time entry.