Skip to content

Comments

Rename --no-run flag to --build-only for clarity#195

Merged
prjseal merged 3 commits intoprjseal:feature/ai-agent-improvementsfrom
hifi-phil:claude/improve-cicd-compatibility-0clEr
Feb 23, 2026
Merged

Rename --no-run flag to --build-only for clarity#195
prjseal merged 3 commits intoprjseal:feature/ai-agent-improvementsfrom
hifi-phil:claude/improve-cicd-compatibility-0clEr

Conversation

@hifi-phil
Copy link

Summary

Renamed the --no-run command-line flag to --build-only throughout the codebase to better communicate its purpose and improve clarity for users. The flag skips the dotnet run command in generated scripts, allowing builds without starting the web server.

Key Changes

  • Property Rename: CommandLineOptions.NoRunCommandLineOptions.BuildOnly
  • Flag Rename: --no-run--build-only in argument parsing
  • Documentation Updates: Updated all help text, examples, and comments to reflect the new flag name and provide clearer descriptions
    • "Skip 'dotnet run' from the generated script" → "Install and build without starting the web server"
    • "Automatically run the generated script" → "Automatically execute the generated script"
  • Test Updates: Updated all test names and assertions to use BuildOnly terminology
  • Workflow Updates: Updated comments in CliModeWorkflow.cs, TemplateWorkflow.cs to reference the new flag name
  • Help System Updates: Updated help text in ConsoleDisplay.cs and OutputHelper.cs with clearer descriptions
  • Changelog: Updated to document the rename and clarify the feature's purpose for CI/CD scenarios

Implementation Details

  • All references to the old property and flag name have been systematically replaced
  • The semantic meaning and functionality remain unchanged—only the naming has been updated
  • Help documentation now emphasizes the use case: "Install and build without starting the web server" rather than the technical implementation detail
  • Examples in documentation and help text updated to show the new --build-only flag

https://claude.ai/code/session_012PVgSwjNXxBP1FyCtB7noC

hifi-phil and others added 3 commits February 21, 2026 15:28
The --no-run flag was confusing when paired with --auto-run (e.g.
"--auto-run --no-run" reads contradictory). Renamed to --no-build
to better convey its purpose: skip the dotnet run step so the project
is installed and built without starting the web server.

Also updated --auto-run description from "run" to "execute" for
additional clarity against --no-build.

Files changed across CLI source, tests, help text, and documentation.

https://claude.ai/code/session_012PVgSwjNXxBP1FyCtB7noC
--no-build was misleading: the project IS still built, it just doesn't
start the web server. --build-only accurately describes the behavior:
install and build the project, but skip `dotnet run`.

Reads naturally with --auto-run: `--auto-run --build-only`

https://claude.ai/code/session_012PVgSwjNXxBP1FyCtB7noC
@prjseal prjseal merged commit 777a1e3 into prjseal:feature/ai-agent-improvements Feb 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants