ui5-namespace-renamer

1.0.4 • Public • Published

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:

  1. Open your terminal or command prompt.
  2. Navigate to the directory where your codebase is located.
  3. Run the command: namespace-renamer <old-namespace> <new-namespace>.
  4. 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 to MyApp.Utils:

    namespace-renamer MyApp.Utilities MyApp.Utils
    
  • Rename com.example.app to com.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.

Package Sidebar

Install

npm i ui5-namespace-renamer

Weekly Downloads

0

Version

1.0.4

License

ISC

Unpacked Size

3.8 kB

Total Files

3

Last publish

Collaborators

  • nimirou