pub fn batch_convert(ifile: &str, ofile: &str, is_constant: bool, silent: bool)Expand description
Batch convert variable names
This function reads variable name data from the specified input file, converts them to the specified naming convention (camelCase or SCREAMING_SNAKE_CASE), and then writes the converted results to the specified output file.
§Arguments
ifile: The path to the input fileofile: The path to the output fileis_constant: Whether to convert to SCREAMING_SNAKE_CASE,trueto convert to SCREAMING_SNAKE_CASE,falseto convert to camelCasesilent: Whether to supress output
§Example
untools::batch_convert("input.txt", "output.txt", true, false);