Repository navigation
feat(cli): name this version's config template when doctor finds no chartula.yaml - #329
Merged
Merged
Conversation
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.
Follows #295, which added
chartula doctor(#254), and replaces the plannedchartula init.chartula.example.yamlexisted for them only if they knew where to look.doctoralready said that nochartula.yamlwas found and the defaults apply; it now also says where the template is.chartula init: what it would have set up is covered already.doctornames a missingchartula.yaml,docs/providers.mdgives theexportlines per provider, and the endpoint and key variable may not go into the file anyway (ADR 0003). All thatinitcould still write isllm.model, which is not worth a command.main: an unknown key inchartula.yamlis refused, andmainmay already list a key the installed version does not know. A dev build between a version bump and its tag links a tag that does not exist yet; that only affects contributors.doctoroutput ingetting-started.mdandtroubleshooting.mdshows the new line.Verified:
doctorin a fresh checkout withoutchartula.yaml, prints the line underconfig; the linked URL forv0.1.0-preview.3answers 200.chartula.yaml, the line is absent.Tests:
DoctorCommandTestsgains one test for the link and one assertion that a present file gets no hint; 19 of 19 pass.