Skip to content

Add Option to Only show Line Metrics#32

Open
kilo52 wants to merge 4 commits intomasterfrom
feature/cli-line-opt
Open

Add Option to Only show Line Metrics#32
kilo52 wants to merge 4 commits intomasterfrom
feature/cli-line-opt

Conversation

@kilo52
Copy link
Member

@kilo52 kilo52 commented Feb 16, 2026

Adds exclusive line metrics options --lines and -l short option to scount.

Introduces option to compute and display only line-specific metrics. Updates argument parsing to handle new line metrics option. Modifies output functions to conditionally display line metrics based on user input. Moves initialization of PrintBuffer to call site of print-related functions.

Introduced `-l` and `--lines` options to compute and display only line-specific metrics.
Updated argument parsing to handle new line metrics option.
Modified output functions to conditionally display line metrics based on user input.
Moved initialization of PrintBuffer to call site of print-related functions.

Signed-off-by: kilo52 <phil.gaiser@raven-computing.com>
@kilo52 kilo52 self-assigned this Feb 16, 2026
@kilo52 kilo52 added the Feature New feature label Feb 16, 2026
@kilo52 kilo52 linked an issue Feb 16, 2026 that may be closed by this pull request
Signed-off-by: kilo52 <phil.gaiser@raven-computing.com>
Signed-off-by: kilo52 <phil.gaiser@raven-computing.com>
Moved the buffer out-param to the end.
Improved function docs.

Signed-off-by: kilo52 <phil.gaiser@raven-computing.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Option to Only show Line Metrics

1 participant

Comments