ui5-namespace-renamer
v1.0.4
Published
Namespace Renamer is a tool that allows you to easily rename namespaces in your ui5 codebase. It provides a simple and intuitive interface for renaming namespaces across multiple files, saving you time and effort.
Downloads
3
Maintainers
Readme
UI5 Namespace Renamer
Description
Namespace Renamer is a tool that allows you to easily rename namespaces in your ui5 codebase. It provides a simple and intuitive interface for renaming namespaces across multiple files, saving you time and effort.
Features
- Rename namespaces in UI5 application javascript/Typescript
- Console log all changed files
Installation
To install the Namespace Renamer npm package, you can use the following command:
npm install namespace-renamer
This will download and install the package from the npm registry into your project's dependencies.
Usage
To use Namespace Renamer, follow these steps:
- Open your terminal or command prompt.
- Navigate to the directory where your codebase is located.
- Run the command:
namespace-renamer <old-namespace> <new-namespace>
. - Namespace Renamer will scan your codebase and change all strings with match
Examples
Here are some examples of how to use Namespace Renamer:
Rename
MyApp.Utilities
toMyApp.Utils
:namespace-renamer MyApp.Utilities MyApp.Utils
Rename
com.example.app
tocom.example.application
:namespace-renamer com.example.app com.example.application
Contributing
Contributions to Namespace Renamer are welcome! If you encounter any issues or have suggestions for improvements, please open an issue on the GitHub repository. You can also submit pull requests with your proposed changes.
License
Namespace Renamer is released under the MIT License. See the LICENSE file for more details.