Repository navigation
Give the README and package READMEs the shared nullean shape - #50
Merged
Merged
Conversation
The root README follows the shared template: logo, tagline, one badge row, a short code sample, install, quick start, a packages table and links. The C# reference moves into src/Proc/README.md, which is what nuget.org shows for Proc, and replaces the copy there that had drifted behind the root README. Snippets now compile against the repository: Proc.Start has no (binary, TimeSpan, writer) overload, so the timeout and console writer go on StartArguments, and the F# exec example's TimeSpan.FromSeconds(10) was ambiguous on .NET 9+. The "default timeout of 4 minutes" claim is dropped: without Timeout every call waits for the process to exit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Gives the root README and both package READMEs the shared nullean structure, with every snippet compiling against the repository.
Prompt summary: root and package READMEs share common branding and structure; package READMEs are valid for nuget.org; images where they show something off.
What
readme.mdbecomesREADME.mdand followsstandards/README.template.md: the nullean mark (proc has no lockup of its own), tagline, one badge row (NuGet, CI; proc has no docs site), a short C# and F# sample in place of an image (proc produces nothing visual), install, quick start, a packages table and links.src/Proc/README.md, the README nuget.org shows forProc. That copy had drifted behind the root one (no .NET 11 section, outdated LinuxSIGINTtext). The root README links to it.src/Proc.Fs/README.mdgets the template's header (logo, tagline, badge, install, quick start) and "Learn more"; its content is unchanged apart from heading levels.Proc.Start("ipconfig", TimeSpan.FromSeconds(10), new ConsoleOutColorWriter())andProc.Start(args, TimeSpan.FromSeconds(10)): no such overloads, soTimeoutandConsoleOutWriternow go onStartArguments.timeout (TimeSpan.FromSeconds(10))is ambiguous on .NET 9+; it is nowTimeSpan.FromSeconds 10..let process = exec { ... }used an identifier F# reserves; it is nowrunning.Timeout,Proc.ExecandProc.Startwait for the process to exit). "Dependency free" is dropped from the README becauseProcreferencesSystem.Reactive. The csprojDescriptionstill says it and is left alone.Verify
mise run pack, thenscripts/check-package-readme.sh build/output/*.nupkg:unzip -pconfirms each package carries its own README.csharpblock (13) compiled in a scratch net11.0 project referencingsrc/Proc, and everyfsharpblock (25) in one referencingsrc/Proc.Fs. Snippets were wrapped in methods and placeholder values (image,dir, ...) were declared. Mutating a snippet makes each build fail.mise run check(curb + zizmor) passes.🤖 Generated with Claude Code