Releases: matt-harvey/swx
Releases · matt-harvey/swx
swx v1.0.1
- Fixed misleading output on switching to inactive with "--at" option when already inactive
- Added instructions for one-line Homebrew install
- Minor typo fixes
swx v1.0.0
- Time log is now at ~/.swx, not ~/<username>.swx
- Instructions added for installing with Homebrew
swx v0.11.0
- Introduce
swx rename
command, to allow the user to rename activities without opening the time log for editing - Provide
-a
option toswx switch
command, allowing the user to amend the current stint without having to open
the time log for editing - Provide
--at
option toswx switch
andswx resume
commands, so the user can specify a timestamp other
than "now" - Provide
--depth
option for reporting commands, to show activity tree only to a given depth - Improve CSV output format to make it easier to process with command-line tools
- Only surround cell with double-quotes if it contains a comma, quotes, newline or carriage return, with
internal double-quotes escaped as appropriate
- Only surround cell with double-quotes if it contains a comma, quotes, newline or carriage return, with
- In "tree" output, print subactivities by default, but provide
-x
option to exclude sub-activities swx current
command is now under "Miscellaneous" inswx help
output- Improvements to README.rst and help output
- Confirmation message from
swx switch
andswx resume
now includes timestamp - Allow just time without date to be passed to options requiring a timestamp, with the current day assumed
- Long options (e.g.
--csv
) now provided for various commands - Some seldom-used short options now abolished, with long options provided only:
swx config -f
is nowswx config --filepath
swx edit -c
is nowswx edit --config
swx print -c
andswx day -c
are nowswx print --csv
andswx day --csv
, respectively
- Regular expressions now use C++ "ECMAScript"-like grammar, rather than POSIX extended grammar
- Fix compiler warnings when compiled with Clang
- Various improvements to code structure
swx v0.10.0
- Output "tree" view of activities by default, with
-v
option now triggering
"flat" output (which used to be the default). - Durations now displayed rounded to nearest tenth of an hour by default.
- Changed interface for filtering by time, with
since
,until
and
between
abolished, and-f
and-t
options instead provided withprint
command to filter by time "from" and "to". day
command now has-a
option, taking a numerical argument, instead of
-1
,-2
etc. The number is no longer capped at 9.- Added
-s
option to reporting commands, for "succinct" output showing total
duration only. - Provided alias
e
foredit
command. - Provided more conventional aliases for
help
(--help
,-h
) andversion
(--version
) commands. - Help text wrapped to 80 characters, with ":" used to separate help "items" from
their descriptions. - Command-line argument parsing now aborts after the first unrecognized option,
rather than continuing and producing an error message for every unrecognized
option. - Conventional exit codes now produced by all commands.
- Fixed unhandled exception on config file parsing error.
- "Miscellaneous" commands now displayed last in the help output.
- "Quick summary" section added to README.rst.
- Removed dependency on Boost, except for the test suite (which is
separately compiled). - There are now some unit tests.
- Fixed compiler warnings.
- Various code improvements
swx v0.9.0
- New
current
command today
command has becomeday
, with additional options provided- New reporting options:
-b
and-e
- Default timestamp format no longer includes seconds
- Improved documentation, help output and error output
- Various code improvements
swx v0.8.0
Initial release