Feature Release
Notable Changes
- adds optional installable auto-completion which makes living with mite-cli much easier as most of the sub-commands options and arguments are auto-completed with suggestions for time entries, projects, customers, users etc., try it out with
mite autocomplete install
- adds custom columns for additional commands where it was missing:
mite projects
,mite services
,mite customers
- lock/unlock time entries:
mite lock <timeEntryId> mite unlock <timeEntryId>
- Change the default output format by setting the
outputFormat
option:mite config set outputFormat csv
- adds another output format
text
which is perfect for piping ids of something into other commands likemite lock
:
lock all entries from the past month:mite list last_month --customer_id 122131281 --columns=id --format=text | xargs -0 mite lock`
- change project or customer details:
mite service update --name="my other name" --archived=false 123129
Bug Fixes
- mistakenly changed alias for customers (7d02c0a)
- amend: more precise error message with no tracker or invalid id (dd47fde)
- config: prevent setting of undefined variable (5eaa01d)
- typo in auto-completion name in lock and unlock (8620b2e)
- typo in mite autocomplete uninstall (697b6ed)
- config: re-enable resetting values to their default (2248b48)
- mite: accidential dublicate parsing of argv (93ad79e)
- projects: customer_name exact matches (45ef317)
Features
- adds --help to all the auto-completions (ff40cf5)
- unlock: adds sub-command to unlock single time entries (47db187)
- adds base for auto-completion for all mite subcommands (96e7f44)
- lock: adds sub-command to lock single time entries (38ec3e0)
- adds outputFormat to config to define global output format (c95eac4)
- amend: auto-completed provides list of 5 last entries of the user (87309f4)
- customer-update: adds auto-completion for customer list and archived state (eefb1b9)
- customer-update: adds command for updating single customer (8733b12)
- customer-update: auto-comple list depends on archived option (c44e29e)
- customer-update: change name and note of a customer (42f4090)
- customers: adds --column option (33df7a5)
- customers: adds --columns option to define which colums are shown (bd734c8)
- customers: adds auto-completion for options and option values (60bff36)
- delete: adds autocompletion which shows last 5 entries (26edb09)
- formater: adds durationToMinutes helper function (1f249d9)
- list: --user_id auto-completion shows you at the current user (d527e06)
- list: adds auto-completion for options and option values (a3906bd)
- list: adds text as output format (31be856)
- list: adds time period completion when date is started to enter (6b4ddee)
- list: services auto-completion shows billable services with dollar sign (8ab0340)
- lock: adds auto-completion for options (9d6469e)
- lock: adds auto-completion for options (c410ab2)
- new: accepts minutes in duration format HH:MM (2b14588)
- new: adds auto-completion for project, services, minutes and date (4e8ac36)
- new: create new time entries using project or service ids (afa2830)
- project: update a project f.e. archive/unarchive it (d5342c6)
- project-update: adds auto-completion for argument and project ids (a36923d)
- project-update: auto-comple list depends on archived option (cb37578)
- project-update: change name and note of a project (1a8a76a)
- projects: adds auto-completion for options and option values (06e4c4b)
- services: adds --columns option (0736812)
- services: adds auto-completion for options and option values (29f44bb)
- start: adds auto-completion which shows latest 5 entries (25201d0)
- users: adds auto-completion options and option values (12b325f)