sigma-z/simtt 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sigma-z/simtt

Composer 安装命令:

composer create-project sigma-z/simtt

包简介

Interactive Simple Command Line Time Tracker in PHP

README 文档

README

Latest Stable Version Minimum PHP Version CI Status

Read the full documentation

The project was inspired by badcrocodile/cltt.

Getting started

Start timer and Status

Start timer and Status

What have I done today?

day and day sum

What did I do yesterday?

yesterday and yesterday sum

Installation

$ composer create-project sigma-z/simtt

Linux/MacOS

$ ./simtt --version

Windows

$ php simtt --version

Implemented features

This is an early project state. At the moment the tool can do:

  • start a timer
  • update the start of a timer
  • stop a timer
  • update the stop of a timer
  • status whether a timer is running or not

Limitations

  • it is not possible to track times across days

Quick feature overview

Usage ./simtt -i to run the Simple Time Tracker in interactive mode. You then can run a lot of commands directly by typing and pressing <enter>:

start [time<hhmm|hh:mm>] [task-name]

starts a timer at a given time for a named task. Note: time and task name can be left blank.

  • implemented

start* [time<hhmm|hh:mm>] [task-name]

updates the start of last log entry. Note: time and task name can be left blank.

  • implemented

stop [time<hhmm|hh:mm>] [task-name]

stops a timer at a given time for a named task. Note: time and task name can be left blank, a given task name will overwrite the task name given at the start.

  • implemented

stop* [time<hhmm|hh:mm>] [task-name]

updates the stopping time of last log entry. Note: time and task name can be left blank.

  • implemented

continue [time<hhmm|hh:mm>]

continues last stopped task for a given time.

  • implemented

status

shows status whether a task is running, or not.

  • implemented

now

shows current time (which can be different because of your configuration - see config precision)

  • implemented

task[-offset] [<string>task-name]

updates a task text for a specified or currently running task. See also the documentation.

  • implemented

comment[-offset] [<string>comment]

updates a comment for a specified or currently running task. See also the documentation.

  • implemented

tasks

shows a list of the latest time tracked tasks

  • implemented

log [range-selection<int>]

shows the latest log entries by range.

  • implemented

day [sum]

shows the log entries of today. If "sum" is defined, it shows the log entries summarized.

  • implemented

day-1 [sum] or yesterday [sum]

shows the log entries of yesterday. If "sum" is defined, it shows the log entries summarized.

  • implemented

day-n [sum]

shows the log entries for n-days before today. If "sum" is defined, it shows the log entries summarized.

  • implemented

You can do the same type of output for week and month.

  • week implemented
  • month implemented

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-02-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固