Dustin J. Mitchell
62c17ab411
Fix arg parsing on Windows
2021-06-14 10:57:44 -04:00
Dustin J. Mitchell
6c9ba48674
Use built to determine version information
2021-06-07 15:29:12 -04:00
Dustin J. Mitchell
09558f9329
Substitute usage information into the documentation
...
This will simplify keeping documentation in sync with the code.
2021-05-24 08:51:05 -04:00
Dustin J. Mitchell
bb7130f960
Support multiple exit codes
...
..with more specific error enums.
2021-05-18 18:57:55 +00:00
Dustin J. Mitchell
09efb33073
move Settings to its own module
...
..and add some tests for it
2021-05-16 09:53:40 -04:00
Dustin J. Mitchell
94d1217d81
Switch to TOML for configuration
2021-05-02 17:04:26 -04:00
dbr
b5b9e63a4f
Disable "unnecessary_wraps" linter as it is almost entirely false-positives
...
Was added in 1.50 and will be reduced in severity in next release as per https://github.com/rust-lang/rust-clippy/pull/6765
2021-03-25 18:20:47 +11:00
dbr
4d9755c43b
Replace 'failure' crate with anyhow+thiserror
...
Closes #148
2021-03-25 16:33:35 +11:00
Dustin J. Mitchell
0a458b5f5b
Treat any bare word in the command line as a report name
2020-12-29 22:54:07 +00:00
Dustin J. Mitchell
8989b0d2e3
Fix clippy warnings and make them all errors
2020-12-24 17:39:49 +00:00
Dustin J. Mitchell
6b550e7516
implement cli help
2020-12-20 18:42:21 -05:00
Dustin J. Mitchell
2c579b9f01
Switch to a command-line API closer to TaskWarrior
...
* Use a parser (rather than clap) to process the command line
* Outline some generic support for filtering, reporting, modifying, etc.
* Break argument parsing strictly from invocation, to allow independent testing
2020-12-19 16:40:09 -05:00
Dustin J. Mitchell
81cee8d375
use CARGO_PKG_VERSION for version
2020-11-29 20:35:25 -05:00
Dustin J. Mitchell
0e926df578
Add configuration-file support to the 'task' command
2020-11-28 18:18:43 -05:00
Dustin J. Mitchell
d46f20e75a
adjust visibility, comment
2020-11-27 18:16:42 -05:00
Dustin J. Mitchell
f31a96176d
use prettytable for tabular outputs
2020-11-23 21:58:45 -05:00
Dustin J. Mitchell
fe4183c3ca
Refactor command-line handling into modules per subcommands
2020-11-23 21:29:46 -05:00