abpframework / abpframework/abp

abp-cli add option -rename for rename solution

Open
#13,003 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

abp-cli
Dominant language
C#
Stars
14.4k
Forks
3.7k
Avg merge
15h 32m
Merged PRs (30d)
106

Description

ABP Framework 5.2.2

Currently the filename/ClassName in the standard-template-pro and the microservice-template-pro doesn't follow a clean structure, which makes is hard to rename the complete solution to an other name.

Example:
"ProjectName".Domain.Shared.csproj
"ProjectName"DomainSharedModule.cs

Sometimes the Namespace is used and sometime its omitted. It should follow one clean structure.

To be able to easily rename the whole solution with all projects and files (including content) it would be great if we could have a parameter -rename which can automatically perform the renaming. This would be useful in a lot scenarios.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the abp-cli implementation and the generators for standard-template-pro and microservice-template-pro. Review how template filenames, class names, namespaces, and content are produced, including examples such as ProjectName.Domain.Shared.csproj and ProjectNameDomainSharedModule.cs. Done means a -rename option can consistently rename the complete generated solution and its files and content.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.