Skip to content

dotnet tool to create a git repo for a dotnet project including folders, solution, test project, readme, license, azure devops build template and more...

License

Notifications You must be signed in to change notification settings

gigi81/dotnet-newrepo

Repository files navigation

Build Status Nuget Forks Stargazers Issues MIT License LinkedIn


dotnet newrepo

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

Table of Contents

  1. About The Project
  2. Prerequisites
  3. Installation
  4. Usage
  5. Roadmap
  6. Contributing
  7. License
  8. Contact

About The Project

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.

Prerequisites

You will need to have the "dotnet" and "git" commands in the path

Installation

To first install the tool

dotnet tool install dotnet-newrepo --global

To install tool's updates

dotnet tool update dotnet-newrepo --global

Usage

#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

Contributing

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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.md for more information.

Contact

Luigi Grilli - @gigifun

About

dotnet tool to create a git repo for a dotnet project including folders, solution, test project, readme, license, azure devops build template and more...

Topics

Resources

License

Stars

Watchers

Forks

Languages