Commit graph

113 commits

Author SHA1 Message Date
Dustin J. Mitchell
2b3383842e Treat partially-matched arguments as an error 2021-06-05 09:15:24 -04:00
Dustin J. Mitchell
21c4f95fd9 fix clippy 2021-06-05 09:03:59 -04:00
Dustin J. Mitchell
5f28eb3a74
produce Tag instances in the parser (#260)
and..
* fix usage-docs plugin
* upgrade mdbook
2021-06-04 09:26:12 -04:00
Dustin J. Mitchell
ac6b020b6d minor updates from review 2021-06-01 09:24:40 -04:00
Dustin J. Mitchell
b18701c3cb remove many duration strings to simplify 2021-06-01 09:20:14 -04:00
Dustin J. Mitchell
0259a5e2e2 parse durations and timestamps 2021-05-31 08:49:37 -04:00
Dustin J. Mitchell
288f29d9d5 refactor argparse::args into submodules 2021-05-31 08:49:37 -04:00
Dustin J. Mitchell
1aae7e059d Add wait to reports, for display and sorting 2021-05-31 08:49:37 -04:00
Dustin J. Mitchell
cf078e1233 add 'wait' to the info output 2021-05-31 08:49:37 -04:00
Dustin J. Mitchell
e977fb294c Implement modifying tasks' "wait" value 2021-05-31 08:49:35 -04:00
Dustin J. Mitchell
9e3646bf84 Summarize tasks nicely in console output 2021-05-30 16:36:20 -04:00
Dustin J. Mitchell
adfde8be15
Merge pull request #236 from taskchampion/issue140
Generate usage documentation
2021-05-26 11:03:49 -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
dbr
b944e27880 Make 'cargo run' run ta binary 2021-05-24 19:44:32 +10:00
Dustin J. Mitchell
45db886f2a add 'ta config path' 2021-05-23 09:12:04 -04:00
Dustin J. Mitchell
7f046a8e27
Merge pull request #225 from taskchampion/issue217
Support multiple exit codes
2021-05-21 10:26:24 -04:00
Dustin J. Mitchell
9d78654573
Merge pull request #221 from taskchampion/issue177
Require a filter be specified for modifications
2021-05-21 10:25:45 -04:00
dbr
00089639fe Include git HEAD rev in version output
Closes #241
2021-05-21 16:31:25 +10: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
0852bfd195 Require a filter be specified for modifications
This filter can either be `*` or some "real" filter.  But an empty set
of arguments no longer automatically matches all tasks.
2021-05-18 18:57:46 +00:00
Dustin J. Mitchell
2345a57940 fix clippy warning 2021-05-18 18:57:29 +00:00
Dustin J. Mitchell
023e638335
Merge pull request #231 from taskchampion/working_set_rebuild_bug
Fix a working set rebuild bug
2021-05-17 21:36:56 -04:00
Dustin J. Mitchell
fd62c8327b Add a ta config set subcommand
This uses `toml_edit` to edit the config file in-place.  For the moment,
it only supports top-level arguments, but can be extended to do other
things later.
2021-05-16 09:53:41 -04:00
Dustin J. Mitchell
a778423cbc store the filename of the loaded config file 2021-05-16 09:53:41 -04: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
fa9e6ddcd5 Don't unwrap in production code 2021-05-16 09:40:35 -04:00
Dustin J. Mitchell
febe6d8b68 sort the 'next' repot by id 2021-05-11 14:58:57 -04:00
Dustin J. Mitchell
ac53383aea remove debugging prints 2021-05-09 21:30:58 -04:00
Dustin J. Mitchell
0f0f2b0e75 rename CLI to ta 2021-05-04 17:09:47 -04:00
Dustin J. Mitchell
94d1217d81 Switch to TOML for configuration 2021-05-02 17:04:26 -04:00
Dustin J. Mitchell
c8d6619d71 Replace tempfile with tempdir 2021-04-16 19:29:27 -04:00
Dustin J. Mitchell
6c0f7a736f Use dirs-next instead of dirs 2021-04-16 09:21:59 -04:00
dependabot[bot]
e69efe79d0
Bump textwrap from 0.12.1 to 0.13.4
Bumps [textwrap](https://github.com/mgeisler/textwrap) from 0.12.1 to 0.13.4.
- [Release notes](https://github.com/mgeisler/textwrap/releases)
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mgeisler/textwrap/compare/0.12.1...0.13.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 07:30:25 +00:00
dependabot[bot]
82fc8dcd97
Bump config from 0.10.1 to 0.11.0
Bumps [config](https://github.com/mehcode/config-rs) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/mehcode/config-rs/releases)
- [Changelog](https://github.com/mehcode/config-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mehcode/config-rs/commits/0.11.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-30 12:09:05 +00:00
dependabot[bot]
cc7f522e2a
Bump nom from 6.0.1 to 6.1.2
Bumps [nom](https://github.com/Geal/nom) from 6.0.1 to 6.1.2.
- [Release notes](https://github.com/Geal/nom/releases)
- [Changelog](https://github.com/Geal/nom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Geal/nom/compare/6.0.1...6.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-30 07:43:37 +00:00
dependabot[bot]
def67c81b6
Bump assert_cmd from 1.0.2 to 1.0.3
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v1.0.2...v1.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 23:45:28 +00:00
dependabot[bot]
ff58711b2d
Bump predicates from 1.0.5 to 1.0.7
Bumps [predicates](https://github.com/assert-rs/predicates-rs) from 1.0.5 to 1.0.7.
- [Release notes](https://github.com/assert-rs/predicates-rs/releases)
- [Changelog](https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/predicates-rs/compare/v1.0.5...v1.0.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-29 23:34:08 +00:00
Dustin J. Mitchell
bbceed41f9 fix needless_question_mark 2021-03-29 19:25:12 -04:00
Dustin J. Mitchell
c42cc3bdcb fix new clippy warnings 2021-03-27 23:38:51 -04:00
dependabot[bot]
718f16154c
Bump env_logger from 0.8.2 to 0.8.3
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.2...v0.8.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-27 23:05:56 +00:00
dependabot[bot]
e0dbeb2763
Bump log from 0.4.11 to 0.4.14
Bumps [log](https://github.com/rust-lang/log) from 0.4.11 to 0.4.14.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.11...0.4.14)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-27 22:50:56 +00: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
6d77b9a319 cargo fmt 2021-03-25 17:10:11 +11:00
dbr
0e7a4c2c33 Fix minor typo in doc comment 2021-03-25 16:34:53 +11:00
dbr
4d9755c43b Replace 'failure' crate with anyhow+thiserror
Closes #148
2021-03-25 16:33:35 +11:00
Dustin J. Mitchell
3cccdc7e32 v0.3.0 2021-01-10 22:45:12 -05:00
Dustin J. Mitchell
02d9c577ab use StorageConfig instead of ReplicaConfig 2021-01-10 22:22:18 -05:00
Dustin J. Mitchell
b004b6cb93 use ServerConfig::into_server instead of server::from_config 2021-01-10 22:22:18 -05:00
Dustin J. Mitchell
15ffc62279 rename taskstorage to storage 2021-01-10 22:22:17 -05:00
Dustin J. Mitchell
b95c146a7e Adjust Tag syntax to match TaskWarrior 2021-01-10 03:47:38 +00:00