Skip to content

feat: added --disable-size flag and related handling#246

Open
yetanotheraryan wants to merge 1 commit intovoidcosmos:mainfrom
yetanotheraryan:main
Open

feat: added --disable-size flag and related handling#246
yetanotheraryan wants to merge 1 commit intovoidcosmos:mainfrom
yetanotheraryan:main

Conversation

@yetanotheraryan
Copy link
Copy Markdown

@yetanotheraryan yetanotheraryan commented Apr 7, 2026

For #240

Changes

  • Added disableSize to the CLI config interface and default config.
  • Registered the --disable-size option in CLI help/options.
  • Passed CLI config into ResultsUi so result rendering can react to disableSize.
  • Updated result display to show placeholder size text when size calculation is disabled.
  • Updated UI scan flow to skip calculateFolderStats() when disableSize is enabled.
  • Updated --delete-all handling so folders can be deleted as soon as they are found when size calculation is disabled.
  • Updated test config fixture to include the new disableSize field.

Validation

  • npm run build passes.
  • npm test passes.
  • Verified node lib/index.js --help shows --disable-size.

Note

--disable-size currently affects interactive UI mode.

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