v3.3.0
This is a small update, just fixing some bugs and enhancing the experience. In this update, I added hidden file support, directory indicators, and improved column alignment.
Added
-
Hidden File Support: Added a new --hidden flag to include hidden files and directories in search results.
-
Directory Indicators: Directory names now include a trailing / in the output for easier visual distinction.
-
Smart Column Padding: Implemented dynamic calculation of maximum widths for name, date, and size columns to ensure perfectly aligned terminal output.
-
OS-Aware Hidden Logic: Added a is_hidden() utility that uses .st_file_attributes on Windows and dot-prefix checks on POSIX systems.
-
Improved Help System: Integrated argparse help strings directly into the argument definitions, allowing for standardized help output.
Changed
-
Argument Handling: Migrated to a more robust argparse implementation that requires an operation (e.g., size, modified) by default.
-
Visual Styling: Updated the YELLOW_BG highlight color to a more readable 256-color code (48;5;136m).
-
Case Sensitivity in Types: The type --eq operation now respects the --case flag for extension matching.
-
Refined Output: Increased the spacing between columns in the list view for better scannability.
Fixed
-
Empty Result Handling: Added a "No matches found" message to prevent silent exits when no files meet the criteria.
-
Windows Color Support: Refined the terminal initialization for Windows systems using ctypes and os.system('color').
Full Changelog: v3.2.1...v3.3.0