Time is money, right? A time tracking Node.js commandline app

ElviraReede 8年前發布 | 11K 次閱讀 Node.js Node.js 開發

來自: https://github.com/s-a/time-track

timeTrack - A time tracking commandline app

Time is money, right? A few things that aims to help tracking your time.

Installation

npm install time-track -g

Usage

 Usage: tt|time-track [options]

Options:

-h, --help                        output usage information
-V, --version                     output the version number
-l, --list                        list available projects
-s, --switch [project]            create or switch to a given project name
-i, --info [date]                 check the tracked time today or by a given date DD.MM.YYYY
-S, --availableseconds [seconds]  set the available time for the current project in seconds
-M, --availableminutes [minutes]  set the available time for the current project in minutes
-H, --availablehours [hours]      set the available time for the current project in hours
-D, --availabledays [days]        set the available time for the current project in days
-o, --open                        open the app data folder
-O, --opensystem                  open the system data folder
-e, --edit                        open current project data storage json file in your editor
-E, --editsystem                  open system data storage json file in your editor
-r, --report [reporter]           reports tracked with a given reporter (reportername is optional and defaults to default-reporter.js)
-t, --timerange [MM.YYYY]         optional timerange for the reporter</pre> 

Available time of a project per month

Internaly measured in seconds timeTrack need this information for a few reportings. You can set available time using the --available* parms. Keep in mind that this sets currently the available time of the current active project and the current month. If you want to change available time of another month then use --o to open the AppData folder and edit the .json files manualy.

todo:

  • add --format (output format) (currently the default report log csv data to console) tt -r > myreport.csv will write a csv file down to filesystem.
  • </ul> </article>

 本文由用戶 ElviraReede 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!