This is a dotnet tool to create a git repo for a dotnet project including folders, solution, test project, readme, license, azure devops build template and more...
Report Bug
·
Request Feature
There is some sort of an unofficial standard structure when it comes to dotnet repositories. For example having a 'src' and 'tests' folder, a solution on the root, etc. As I was finding myself recreating this sctructure multiple times, I decided to create this tool which helps to create as much as possible of an entire repository structure, so that you can focus on addding your value and code instead of worrying about things like how to build the project or how to share settings between projects with DirectoryBuildProps.
You will need to have the "dotnet" and "git" commands in the path
To first install the tool
dotnet tool install dotnet-newrepo --global
To install tool's updates
dotnet tool update dotnet-newrepo --global
#first create a directory host your repo
mkdir Organization.Project
cd Organization.Project
#then create the init.yml file (this file is used to specify a few settings like your github username)
newrepo init
#customize the init.yml file with your custom settings
notepad init.yml
#then finally create the repo
newrepo
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.md
for more information.
Luigi Grilli - @gigifun