-
v0.2.0 Stable
bool_purist released this
2025年12月18日 13:08:45 +01:00 | 7 commits to main since this releasePackages for Linux distributions
Changelog of the release
v0.2.0 - 2025年11月12日
Fixed
- Now only 3 digits, for decimal bytes, after the integer part are rendered.
- By default the languages are sorted by the byte count itself and not the byte percent which was zero/the same for smaller sizes in larger project
- If there is no unknown file found then the unknown row is not shown in the ASCII tables anymore.
Added
- New CLI option as
--csv-delimiteras to adjust which text is used for separating fields
in the output format-f|--format-outputascsvcomma separating value. - New column called
colorunder the options-d|--display-columnsand-o|--ordering-columnsshow the hex color of language. - New option to change output format
-f|--format-outputfor showing 'json',json-prettyas pretty json
and comma separated value ascvsbeside a human readable astable. - Listed languages can now be shown with a certain color via option
--color-modeand environmental variablePLEASE_CODE_COUNT_COLUMNS_SORT.
There are 3 modes "full", "basic" and "none". "full" works on a terminal emulator with true color support.
"basic" is a fallback for partial color support, fewer colors, leading to languages sharing the same color.
Default is "full". "None" recommended for scripting and CI.
The application fallbacks from "full" to "basic" or from "basic" to "none" If the terminal lacks the support for the original color mode.
This color comes with most built in languages or from the user defined color.
User defined color can be provided as Hex color, "#XXXXXX" or as rgb color, [XXX, XXX, XXX] under the new fieldcolor. - You can now set which column is shown via the option
-o|--ordering-columnsand environmental variablePLEASE_CODE_COUNT_COLUMNS_DISPLAY.
Detects error where If a columns is not displayed but it is sorted. - You can now choose which columns are used for sorting via the option
-o|--ordering-columnsand environmental variablePLEASE_CODE_COUNT_COLUMNS_SORT. - You can now set if the sorting is ascending or descending via option
-a|--ascending-sorting.
It is by default descending. - Duplicated column names for sorting,
-o|--ordering-columns, and for what to show,-d|--display-columns, are detected and reported as an error. - User does not need to provide a path to directory anymore. The current directory is used as fallback then.
- Application also available for the target arm 64, arm 32 v7 and risc-v 64 bit.
- A Debian package can be build which will deploy the binary, README, changelog, licence, shell completions and the man page.
- A RPM package can be build which will deploy the binary, README, changelog, licence, shell completions and the man page.
- Man page can be generated by separate binary crate called "man"
- Shell completion can be generated by separate binary crate called "shell_completion"
- Added command for compiling the application with its intended assets and documented how to do it.
This also serves as foundation for potential packing for Linux distros
Changed
- Made columns name shorter so the ASCII table fits better within terminal sessions.
- Changed package name from 'please_code_count' to 'please-code-count' since application on linux distribution usually use '-' to separate words
Using '_' for separating words also resulted in a bug for rpm package in which the bash completion was not sourced.
Removed
- Removed subcommand "manpage" since the manpage is shipped in a release
- Removed subcommand "shell_completion" since the manpage is shipped in a release
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
5 downloads
-
CHANGELOG.md
1 download ·
2025年12月18日 17:15:16 +01:00 · 4.1 KiB -
please-code-count-0.2.0-aarch64-unknown-linux-gnu.gz
0 downloads ·
2025年12月18日 17:15:25 +01:00 · 4.1 MiB -
please-code-count-0.2.0-aarch64-unknown-linux-musl.gz
0 downloads ·
2025年12月22日 11:21:49 +01:00 · 3.5 MiB -
please-code-count-0.2.0-riscv64gc-unknown-linux-gnu.gz
0 downloads ·
2025年12月18日 17:15:26 +01:00 · 4.2 MiB -
please-code-count-0.2.0-x86_64-unknown-linux-gnu.gz
0 downloads ·
2025年12月18日 17:15:27 +01:00 · 4.9 MiB -
please-code-count-0.2.0-x86_64-unknown-linux-musl.gz
0 downloads ·
2025年12月22日 11:21:43 +01:00 · 5 MiB -
please-code-count-extras-0.2.0.tar.gz
0 downloads ·
2025年12月18日 17:15:19 +01:00 · 9.3 KiB -
SHA512SUMS.txt
2 downloads ·
2025年12月22日 11:21:57 +01:00 · 2.8 KiB -
SHA512SUMS.txt.asc
1 download ·
2025年12月22日 11:22:00 +01:00 · 277 B