Skip to content
dirstat CLI Reference
Edit
On this page

Complete CLI reference for dirstat — all available commands, subcommands, flags, arguments, and usage examples with detailed descriptions.

#dirstat CLI Reference

Summarize files in a directory tree, grouped by format, with aggregate statistics

Version: 0.6.0

#Commands

  • scan -- Summarize the files under a directory tree, grouped by format, with counts, sizes, and lines of code as terminal tables or JSON.

#Framework flags

These flags are owned by the strictcli framework, not by the app. No command may declare a flag with one of these names, and each is recognized anywhere on the command line.

Framework flags
FlagEffect
--dry-runPreview mode: no mutation runs. The framework prints a log of every effect the command would have performed.
--approve-consequentialSkips the confirmation prompt a consequential command shows before it runs.
--quietHides informational output. Warnings, errors, structured data and the dry-run log are never suppressed.
--verboseShows debug output. --quiet wins when both are passed.
Search