dp-slocale
v1.0.2
Published
This CLI tool has been developed to find and process project-specific localization methods in dpeurasia e-commerce web applications. It is completely useless for another project unless a similar method is used.
Downloads
3
Readme
Desription
This CLI tool has been developed to find and process project-specific localization methods in dpeurasia e-commerce web applications. It is completely useless for another project unless a similar method is used.
Install
npm i -g dp-slocale
Usage
dp-slocale -d ./project
Arguments
-d
Search directory. If it is empty, it works in the command path.-f
Allows searching only in specified folders. Takes a string value divided by a comma.dp-slocale -f '/src, /helpers'
-n
Lists localizations newly added to the project and not included in the API. It takes the API's localization endpoint as an argument for comparison.dp-slocale -d ./project -n https://api.site/localization?locale=EN
-wf
It also adds the erroneous results along with the file paths to the output.