Skip to content

fix: gate step output behind --verbose, CLI flag polish, build flow fixes (v0.4.2)#15

Closed
masonlet wants to merge 18 commits into
mainfrom
fix/output
Closed

fix: gate step output behind --verbose, CLI flag polish, build flow fixes (v0.4.2)#15
masonlet wants to merge 18 commits into
mainfrom
fix/output

Conversation

@masonlet

@masonlet masonlet commented Jul 3, 2026

Copy link
Copy Markdown
Member

Summary

Fixes several bugs across single/mono repo setup and workspace commands.

Changes

Behavior changes

  • Per-step output (Creating/Done/Finished...) now only prints under --verbose;
  • Workspace clean no longer deletes node_modules for npm workspaces, too
    aggressive/unprompted. May return later behind an explicit flag.
  • --clean was a silent no-op for npm projects; now warns under --verbose.

CLI changes

  • Added --version.
  • Short flags reshuffled: -v--verbose, -b moved from --build-type to
    --build, -p added for --profile.
  • Help output grouped under headings (Connection/Build/Mono-repo/Diagnostics);
  • fixed --build doc comment not showing in --help.

Fixes

  • build_project called with swapped build_path/source_path args in mono mode.
  • Removed duplicate "Detecting build system" header.
  • --no-dry-run conflicted with itself instead of --dry-run.
  • Corrected stale --init-config/--profile-add references in help/error text.

Internal

  • Removed configure_and_build (folded into build_project).
  • Flattened workspace path/mono_dir/build_dir into shared WorkspaceTarget.
  • Extracted io_error_msg and detect_or_dry_run helpers.
  • generate_watch_scripts returns bool so watch scripts only open when generated.
  • Clarified run() # Errors doc.

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.

1 participant