altr-0.3.1 is not a library.
Visit the last successful build:
altr-0.5.1
Altr: Smart CLI Refactoring Tool
Description
Altr, a command-line tool, specializes in seamless code refactoring while preserving your chosen case styling.
Usage
Unlock the potential of Altr with the command:
Example
Consider a file, user.js, where the "user" needs be renamed to "myImportantUser"
const user = ;
// Setting new name for the USER
const myImportantUser = ;
// Setting new name for the MY_IMPORTANT_USER
Note that Altr changed the values while keeping into account the casing styles of both the pattern to be replaced and the pattern specified to be renamed If instead we were to run
const my-important-user = ;
// Setting new name for the MY-IMPORTANT-USER
Note that the casing of the term "user" is not sufficient to determine its conversion into "my-important-user", hence the replacementTerm's casing is taken into account. Although, "User" can be determined to be PascalCase, hence that is correctly inferred
Installation
Install using cargo