Skip to content

Add Options to Control Table of Files and Change Default Display#60

Merged
kilo52 merged 7 commits into
masterfrom
feature/cli-show-file-tbl
May 27, 2026
Merged

Add Options to Control Table of Files and Change Default Display#60
kilo52 merged 7 commits into
masterfrom
feature/cli-show-file-tbl

Conversation

@kilo52

@kilo52 kilo52 commented May 20, 2026

Copy link
Copy Markdown
Member

Changes the default output of scount to not show file table by default, only the summary table.

Adds two options to show individual and all files in results.
Option --show-files results in the old behaviour. It will show results for individual files, but only to a certain limit.
Option --show-all-files simply shows the result table for all files, not matter how many there are.

Changes existing functionality tests to include the --show-files option when invoking scount under test so that the expected output stays the same and the test assertion is not invalidated by this change.

…ary.

Added two options to show individual and all files in results.
Option `--show-files` and option `--show-all-files` for scount.
Modified output functions to conditionally display file tables based
on new options.
Added tests for new functionality to ensure correct output.
Changed existing functionality tests to include the '--show-files' option
when invoking scount under test so that the expected output stays the same
and the test assertion is not invalidated by this change.

[CL]: Added scount CLI --show-files option to control file table display in output.
[CL]: Added scount CLI --show-all-files option to control file table display in output.
[CL]: Changed scount output behaviour to not show file table by default.

Signed-off-by: Phil Gaiser <phil.gaiser@raven-computing.com>
@kilo52 kilo52 self-assigned this May 20, 2026
@kilo52 kilo52 added Improvement Improvement of an existing feature Feature New feature labels May 20, 2026
@kilo52 kilo52 linked an issue May 20, 2026 that may be closed by this pull request
kilo52 added 6 commits May 21, 2026 22:32
Added documentation for --show-files and --show-all-files options.

Signed-off-by: Phil Gaiser <phil.gaiser@raven-computing.com>
Changed options indication to be shorter.

Signed-off-by: Phil Gaiser <phil.gaiser@raven-computing.com>
Signed-off-by: Phil Gaiser <phil.gaiser@raven-computing.com>
Signed-off-by: Phil Gaiser <phil.gaiser@raven-computing.com>
Signed-off-by: Phil Gaiser <phil.gaiser@raven-computing.com>
Test case for --show-files should be different than --show-all-files.

Signed-off-by: Phil Gaiser <phil.gaiser@raven-computing.com>
@kilo52 kilo52 merged commit 98c8507 into master May 27, 2026
22 checks passed
@kilo52 kilo52 deleted the feature/cli-show-file-tbl branch June 3, 2026 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature Improvement Improvement of an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Options to Control Table of Files

1 participant