Closed tetuaoro closed 3 months ago
This PR enhances the leptosfmt command to support excluding files or directories.
leptosfmt
In my case, I need to exclude just one directory out of 5 directories, so instead of including specific directories, I simply use the exclude feature :
exclude
leptosfmt src/ -x src/first -x src/secundo/mod.rs
--exclude (-x)
get_file_paths
I hope this feature is useful to everyone.
thanks!
Description
This PR enhances the
leptosfmt
command to support excluding files or directories.Usage
In my case, I need to exclude just one directory out of 5 directories, so instead of including specific directories, I simply use the
exclude
feature :Changes
--exclude (-x)
argumentget_file_paths
function.I hope this feature is useful to everyone.