Repository navigation
fix: bring docs, skill and config template in line with the binary - #406
Merged
Merged
Conversation
- --include-completed: say where it is accepted and where it is an error, and name a bare --tag sweep in the refusal instead of the internal "project" view. - Skill: list open_only among the config keys. - config init: give the db example the ThingsData-XXXXX folder it needs, and say to replace XXXXX, since the path is used as written. - Document that the database is found under $HOME and that --db or the db key is the only override. - --json: refuse a complete/cancel switch on a closed item with the "already closed" token instead of the generic "error".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A docs check against main found five places where the docs site, README, the bundled skill or the config template describe something the binary does not do. This fixes them before v0.10.0.
--include-completedwas documented as accepted on every listing. It is accepted only on inbox, today, anytime, upcoming and someday, and on a--projector--arealisting with no view. Elsewhere it is an error. The docs now say so. On a bare--tagsweep the refusal named the internal "project" view; it now says "a bare --tag listing". The refusal exits 1 like the others. The exit 80 seen in the report comes from kong's conflict check when--open-onlyis passed too.open_only.config inittemplate's exampledbpath lacked theThingsData-XXXXX/folder, so uncommenting it failed. It now has the folder, with a comment saying to replace XXXXX, since the path is used as written.$HOME, and that--dbor thedbkey is the only override. There is no environment variable.errortoken under--json. It now returnsalready closedwith the item's kind, uuid and title. Tests covercomplete,cancel,editandproject edit. The token lists in the README, agents page and skill include it, andmisfiled, which was missing from the lists.Checked with
make test,make lint, a Hugo build, and the built binary against a fixture database with stubbedosascriptandopen.