← 返回
开发者工具 Key 中文

Toggl

Track time with Toggl via the toggl CLI. Use when the user wants to start/stop time tracking, check current timer, view today's or weekly reports, list recent entries, or manage time entries. Triggers on "toggl", "time tracking", "timer", "track time", "what am I working on", "log time", "timesheet".
使用 Toggl CLI 进行时间追踪,可启动/停止计时、查看当前计时器、今日或周报、最近记录列表以及管理时间条目。触发词:toggl、time tracking、timer、track time、what am I working on、log time、timesheet
clvrobj
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 1
Stars
📥 2,402
下载
💾 43
安装
1
版本
#latest

概述

Toggl Time Tracking

Use the toggl CLI (@beauraines/toggl-cli) for Toggl Track integration.

Prerequisites

Install the CLI:

npm install -g @beauraines/toggl-cli

Configure authentication (create ~/.toggl-cli.json):

{
  "api_token": "YOUR_TOGGL_API_TOKEN",
  "default_workspace_id": "YOUR_WORKSPACE_ID",
  "timezone": "Your/Timezone"
}

Get your API token from: https://track.toggl.com/profile

Get your workspace ID from your Toggl URL: https://track.toggl.com/{workspace_id}/...

Set permissions: chmod 600 ~/.toggl-cli.json

Commands

Status

toggl now                    # Show running timer
toggl me                     # Show user info

Start/Stop

toggl start                  # Start timer (interactive)
toggl start -d "Task name"   # Start with description
toggl start -d "Task" -p "Project"  # With project
toggl stop                   # Stop current timer

Continue Previous

toggl continue               # Restart most recent entry
toggl continue "keyword"     # Restart entry matching keyword

Reports

toggl today                  # Today's time by project
toggl week                   # Weekly summary by day

List Entries

toggl ls                     # Last 14 days
toggl ls -d 7                # Last 7 days
toggl ls --today             # Today only
toggl ls "search term"       # Search entries

Add Completed Entry

toggl add "9:00AM" "10:30AM" "Meeting notes"

Edit Current

toggl edit -s "10:00AM"      # Change start time
toggl edit -d "New desc"     # Change description
toggl edit -p "Project"      # Change project

Delete

toggl rm <id>                # Remove entry by ID

Projects

toggl project ls             # List projects

Other

toggl web                    # Open Toggl in browser
toggl create-config          # Generate config template

Notes

  • Times must be parsable by dayjs (e.g., 4:50PM, 12:00 AM, 9:00)
  • Config file: ~/.toggl-cli.json
  • Environment variables override config: TOGGL_API_TOKEN, TOGGL_DEFAULT_WORKSPACE_ID, TOGGL_TIMEZONE

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 14:02 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,767
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 66 📥 179,998
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 323,975