From 68a64affdecfc6edab9805dfa56d4f8a78446d0e Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 4 Jun 2017 02:29:23 +0200 Subject: README: Add information about the `--list-modules` flag Realised that I forgot to explain this flag. Show an example of it usage and output, and describe some of the reasoning behind why it's there. --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 4c34af7..fdf9fdc 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,22 @@ Once you have a complete config file, you should be all set to start posting time entries! +Eventually, you'll have to update the `module` value in your configuration file +to align with the current sprint. Instead of visiting the website to get the new +ID of the `module`, the modules of a project can be listed from the program: + + $ timetasker --project example --list-modules + +This produces the following output: + + ID Module + 77777 Sprint 1 + 222222 Sprint 2 + +The correct sprint ID can then be easily copied from this list into +`config.toml`. + + ## Install Visit the [releases][3] page, download the version corresponding to your platform, and put the resulting `timetasker` binary on your PATH. -- cgit v1.2.3