Tiempo ====== Synopsys -------- **t** -h|--help **t** help SUBCOMMAND **t** SUBCOMMAND -h|--help **t** SUBCOMMAND [OPTIONS] Subcommands ----------- +-----------+-------+----------------------------------------------------------+ | Command | Alias | Description | +===========+=======+==========================================================+ | archive | a | Archive entries to a hidden timesheet. | +-----------+-------+----------------------------------------------------------+ | backend | b | Open an sqlite shell to the database (requires having | | | | sqlite3 installed. | +-----------+-------+----------------------------------------------------------+ | configure | c | Configure tiempo in-place or get path to config file. | +-----------+-------+----------------------------------------------------------+ | display | d | Display all entries in the current sheet. | +-----------+-------+----------------------------------------------------------+ | edit | e | Edit an entry. | +-----------+-------+----------------------------------------------------------+ | in | i | Start an entry in the current timesheet. | +-----------+-------+----------------------------------------------------------+ | kill | k | Delete an entry or an entire timesheet. | +-----------+-------+----------------------------------------------------------+ | list | l | List existing sheets. | +-----------+-------+----------------------------------------------------------+ | month | m | Display entries starting this month. | +-----------+-------+----------------------------------------------------------+ | now | n | Show all running entries. | +-----------+-------+----------------------------------------------------------+ | out | o | End the active entry in the current timesheet. | +-----------+-------+----------------------------------------------------------+ | resume | r | Restart the timer for an entry. Defaults to the last | | | | active entry. | +-----------+-------+----------------------------------------------------------+ | sheet | s | Switch to a new or existing timesheet. | +-----------+-------+----------------------------------------------------------+ | today | t | Display entries that started today. | +-----------+-------+----------------------------------------------------------+ | week | w | Display entries starting last monday or later (First day | | | | of the week configurable). | +-----------+-------+----------------------------------------------------------+ | yesterday | y | Display entries that started yesterday. | +-----------+-------+----------------------------------------------------------+ Description ----------- Tiempo is a command-line time tracker. Register the start and end times of your activities and get results by day, week, month or custom periods of time in different formats, including custom ones. Entries are optionally organized in timesheets which you can use to represent projects, clients etc. Most commands (notably the ones that display entries) work on the *current* or *active* timesheet. The entries are stored in a local Sqlite3 database whose location you can learn by looking at your config file (whose location you can learn running ``t c``). **tiempo** stores entries as UTC and then converts to the local timezone for displaying and querying. This means that even if you change timezones your recorded times will be correct, although their displayed results might vary if grouping by day for example. This tool is compatible with a previous one with the same purpose called ``timetrap``. The most notable difference being that timetrap stores times as local timezone times, which makes it messy if you switch timezones. Another difference is that in timetrap you used the internal ruby API to add custom display formats and in ``tiempo`` you'll use standard input/output and command-line arguments in any language of your choice. Tutorial -------- .. note:: yo, doc this Subcommands ----------- t-archive ......... ``t a|archive [OPTIONS] [SHEET]`` By default this command will ask for you confirmation, then archive ALL entries in the current timesheet. Pass ``--fake`` to only display the entries using the ``text`` formatter (useful if you want to make sure that the archived time/entries are correct). Using ``--start`` and ``--end`` you can further limit the period of time that will be archived (See **Specifying times** section of the docs on the accepted formats). You can use ``--grep`` to only archive certain entries that match the given regular expression. If what you need is to archive a specific elapsed time, for example only 15 hours out of however many the timesheet has use ``--time`` with the amount of hours you want to archive. **Options** -f, --fake Don't actually archive the entries, just display them -e, --end